Fix unlinkOrphans for dry-run