handle no gid being passed in
don't compare on Windows
remove extra :
Merge pull request #8500 from UtahDave/develop

Fix Windows user.present