Remove repositories from disk when removed through REST API.