musl-git: fine-tune check for existing checkout

the build process generates the directory, so the check suceeded always.
fix deps in some X11 libs