@kyranzor Ah, great timing, you are correct with the rephrasing of my state, testing your new version now, updated and enabled, loading save, and it loaded. Thanks much!
For note, combat-robotics
do not exist in 1.1, it was renamed to defender
as per this changelog entry in 1.1:
Renamed technology "turrets"->"gun-turret", "laser-turrets"->"laser-turret", "combat-robotics"->"defender", "combat-robotics-2"->"distractor", "combat-robotics-3"->"destroyer" "tanks"->"tank", "stone-walls"->"stone-wall", "gates"->"gate"
So you could keep the migration script but just check for if combat-robotics exists (or rename it to defender instead if it is 1.1+ only) if the migration script is useful for older games.