Accidental regression appeared due to inconsistent trailing slashes, so we need to reimplement this using the path datatype itself.
Accidental regression appeared due to inconsistent trailing slashes, so we need to reimplement this using the path datatype itself.