Cherry picked: Fix salt.utils.chugid group_list filtering on OS X

This commit fixes #16839 on 2014.7