Fix misleading error message for failed run of the version script.