Improved error diagnostics in the new version check.