CB-8155 Do not fail plugin installation from git url with --link (close #129)

This is wrong when installing a local plugin with dependencies from git repositories.