The new line has an additional ```/``` at the end. Without it, a later URI.resolve() drops the last element in the path.