User::getGroupID loose value check

User::getGroupID() may return NULL or "0" depending whether user had groups set earlier and so on