avoid unnecessary comma at the beginning of hostgroups