Fix Git/HG/svn revision retrieval. Use one path for retrieving revisions