fixes #2453 - fix aggressive truncation of hostgroups < 26 chars