What exact case was the previous `parsedUri.directory.replace( "/", "" )` covering?