Pull out of do_checkout.sh the variables which define the repositories and branches
to check out from into a separate repos.sh file.
Pull out of do_checkout.sh the logic for checking if a sandbox is
fully checked out into a separate check_sandbox.sh script.