Clean packages of their contents before deleting them.