fix bug in SvnRepo._maprev
strip newline from return of GitRepo.ancestor