Fix GetRepoRoot for SVN: return correct path, not its parent

GetRepoRoot used to return the parent directory of the upmost directory
containing a ".svn" directory.