Trying to add some behaviour, but it fails with a KeyError :(

This behaviour should allow an agent, when both CPs are ours, to collect ammo
and have another agent move back to that CP, only if it is not "threatened" by
the enemy.  However, I keep getting a KeyError, and thus I commented it out.
Super sad face!