The execute_external global variable is defined in [lit.common.cfg.py](https://github.com/llvm/llvm-project/blob/fcfb3170a776f89dde4de8ee105c99e10660f455/compiler-rt/test/lit.common.cfg.py#L18-L27) and used here (on lines 23 and 39). However, this variable is not visible in configs that are loaded independently.
Explicitly assign it to the correct value to avoid NameError.
I don't think that we should try to dig through the test_format type if possible. Why not replicate the check for LIT_USE_INTERNAL_SHELL?