Fixed bug with the repo pattern not matching dashes