opkg: the PKG_UPGRADE env was not set properly