fix: pkg_addfile_attr called with bogus path parameter
Try to create the tmp directory if it doesn't exists that helps
bootstrapping base from pkgng