checkout.sh: Make sure path exists before readlink'ing it
Created by: catrope
This avoids errors when trying to check things out into /w/build/FOO.
Also remove the line in precheckout.sh creating /build. This is the wrong path, it should be /w/build, but creating that causes errors because the "git worktree add" command wants an empty directory.