extract_upgrade.sh: fix removal of the upgrade install directory