Fix NameError: global name 'ipkg_require_latest' is not defined