fixes #2728 - POST /api/hostgroups does not accept ancestry