fix for crashes on subpackages with inherited group

Together with rpm-5.4.10-52 fixes
https://bugs.launchpad.net/poldek/+bug/1077603