Support relativizing against linked paths

A repository opened with a symlink path will now use
the source and destination paths when relativizing.