saltstack/salt — pull request #4330 by terminalmage (2013-03-31 06:41:46+00:00)
Title: Fix TypeError in pkg.group_install

Package groups are case-insensitive, so convert the group names to
lowercase in group_info to ensure that matches are found.

However, if the group does not exist, this same traceback will happen.
Resolve this by using dict.get.

This fixes #4260.