Added debug for new_hostgroup