Fix a CGM crash in case of null response