Support trailing slashes too in the root.