Handle missing/invalid HTTP response during upgrade validation

Gracefully handle missing or invalid HTTP responses during upgrade
validation.