fix localrepo