Allow git, hg and svn plugins to detect working copy root

Méven Car requested to merge meven/dolphin-plugins:work/fix-430024 into master

Requires system/dolphin!134 (merged)

BUG: 430024

Edited by Méven Car

Merge request reports