Fixed adding a repo multiple times