fix sysupgrade 'do_upgrade: not found' error