build_uboot: Fix build twice in a row

We were checking for a MKIMAGE_DIR which still ended in .git
so the check always failed and we tried to clone the repo.
1 job for fix-mk-image-checkout in 16 seconds (queued for 1 second)