Fix `getRequestedToolchainTypeLabelsFromAutoExecGroups`

Failed in 1h 9m
:pipeline:
Print Test Summary for Shards
15/20
:mac: macOS (shard 14)curl -sS https://raw.githubusercontent.com/bazelbuild/continuous-integration/master/buildkite/bazelci.py?1720120684 -o bazelci.py && python3 bazelci.py runner --task=macos_v2 --http_config=https://raw.githubusercontent.com/fweikert/bazel/macos_v2/.bazelci/postsubmit.yml
Waited 9s
·
Ran in 37m 3s
Total Job Run Time: 12h 51m