Temporary fix for GCM crash when there is no internet. I pushed this because I didn't want it to crash while people were testing. I'll commit the actual fix shortly.