Fixed exit code on upgrade resolution error