Minor cleanup for opkg_upgrade.c