Fix base directory in UniformResourceLocator (part 2)