Fix 17959: Upgrade unattended produces a warning