1151490 - Repo group publish fails with NoneType error

https://bugzilla.redhat.com/show_bug.cgi?id=1151490
All details are here https://github.com/pulp/pulp_rpm/pull/582 .