[PATCH] Improve error reporting when unpacking chunk artifacts