using the first group can cause issues

Using a users group list and taking the first as their default group
should be used as a fallback when an explicit GID is not specified.

/wave