Fixed SVN/Git detection
Added local path parameter to use a different path as local root path (for special server configurations)