Add support for no trailing slash at the root