Adapting to changes in ipkg commit 2bf5778c068a5bfb1e41963718c4dd90cf865ed8