Repair vcsrepo ref