fixes #6363 - make hostgroup provisioning work