Fixing errors in RepoParser, TSR