remove references to repositories