munkipkg --sync would fail on pseudo-payload-free package projects cloned from git repositories because os.mkdir(./payload/.) would fail, because the parent directory of ./payload/., ./payload, did not exist. Fixed this
by changing os.mkdir to os.makedirs, which creates directories recursively analogously to mkdir -p.
munkipkg --sync would fail on pseudo-payload-free package projects cloned from git repositories because os.mkdir(./payload/.) would fail, because the parent directory of ./payload/., ./payload, did not exist. Fixed this by changing os.mkdir to os.makedirs, which creates directories recursively analogously to mkdir -p.