(prune_cache): Print correct list when debugging.