Small changes to sysupgrade