ISPN-2731: Fixed NPE that can occur on a null response.