Plain validation of response before checking statusCode.

Prevent server crashing if response is undefined (could occur for some failing sources).