Fix base directory in UniformResourceLocator