DRY up dry-run behavior in clean