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.
Merge pull request #4330 from terminalmage/issue4260

Fix TypeError in pkg.group_install