store bundle cache in repository, clean up repository