Fix reposync error