fixes #5826 - Using dots in kickstart template names or hostgroups causes routing errors