Fix a crash in case empty GCM result