fixed perldoc headers, every little helps...
only process host group items if we have hosts in hostgroup
return an empty hash if no hosts are in hostgroup