rest: minor fix in GcmRegisterRestlet