Since rP25584, PetraAI constructs a lot of ships. This is caused by her seeing the ships as Ranged units.
Here we explicitly tell her we don't want ships (since those are managed by the NavalManager)fix the class requirements by requiring all classes.