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