Remove non-existing nodes from repositories