:bug: Fix `SyntaxError: Unexpected token u`

If `_doRequest` calls it's callback with only an error and no response, trying to `JSON.parse` the undefined response will fail.