Fix exception when user is created w/o a group.

https://bugzilla.redhat.com/show_bug.cgi?id=1127093
Merge pull request #437 from martinpovolny/user_wo_group_fix_raw

Fix exception when user is created w/o a group.