Checkout correct branch in validate.sh