Cope with symlinks.

Allows versions to continue working for a checked out source tree when the package was discovered by Python via a symlink.