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

https://bugzilla.redhat.com/show_bug.cgi?id=1127093