fixes #6335 - permit only --hostgroup when creating host
Merge pull request #130 from domcleal/6343-nested-resolver

#6335  - host creation improvements