Fixes #1827: ensure there are no backslashes in config template name