fix upgrade.py remote path