Suppress spurious warnings in --dry-run mode