Implemented support for connecting to a sub-directory inside a
repository (not necessarily the other repository's root).