Fix pkgng traceback

Fix PkgNg client tool on unsupported platforms.