Fix GCM/JPush registration assertion when operating bucket/topic.