lib/package_unpack.c: only create rootdir if it doesn't exist once.