use group_name when checking if the group exists on mac osx with dscl
Merge pull request #2251 from chilicheech/fix_dscl_group_name

use group_name when checking if the group exists on mac osx with dscl