Fix repoUrl generating wrong path, following links when it shouldn't
Source: https://bugs.eclipse.org/bugs/show_bug.cgi?id=569607
When generating the repoUrl using the filepath, symlinks are being followed causing bad project URLs to be generated. New solution should be more robust when dealing with symlinks to retain functionality.