Fixes #16767: upgrade_unattended script is no longer working.