Fix edit override when no hostgroup is currently selected

When a host doesn't have a hostgroup already selected, the edit override
for the openstack hostgroups throws an error.
Merge pull request #362 from bcrochet/edit-host-hg

Fix edit override when no hostgroup is currently selected