added support for pkgng versions 1.1.4 and up