Fix "local" symlink in cases where it points directly to its containing directory

Some version of virtualenv do that, and without special handling for it, all kinds of strangeness happens.