Prune dead packages