- Added more checks in getPackageGroups() code.