Correctly catch unsuccessful responses.

@glongman noticed this was incorrectly handling responses, since 'response' is
always a HTTParty::Response and not a Net::HTTPResponse