Fix regression in new version check.