Check for response url to avoid crash when not present

Creating a dictionary with a response that has a nil URL will crash the
app
Merge pull request #2433 from NSElvis/fix/crash-with-nil-url-in-response

Check for response url to avoid crash when not present