avoid self-referential symlinks (fixes int3/doppio#257)
Merge pull request #265 from jerith666/self-ref-symlink

avoid self-referential symlinks (fixes int3/doppio#257)