COOK-2374: Clarify the hostgroups must be an array