Removes unncessary repositories definition