fix local repo patterns