git-svn: introduce add_path_to_url function