The "Avoid Bad Targets" option isn't enabled for any of the commanders.
Enabling it requires editing either the unit lua files or the gadget that controls the behaviour.
Couldn't manage to get this to work with a "Unit Tweak", but it worked by creating a mutator overriding dynstrike1.lua.
basically:
customParams={
bait_level_default = 0,
}
This make the setting disabled by default, but can be enabled like on most units.
However, it breaks when a commander morphs. Resetting to the default value.
That might be fixable by someone more in the know than me.