Removing unnecessary repository definitions