Fix pkgng traceback

This fixes the pkgng client tool on unsupported platforms.