Fixes 7038: No error when hostgroup name exceeds 245 characters