Ported nova_group by risaacson to new style for openstack modules.
Fix a bug reported by Kesten Broughton