Wrap salt.util import of grp and pwd in try block
Logic readability in salt.utils
Remove any chance of duplicates by returning sorted(set(group_list))