Backport the fix for pkgng revoked dir creation