Fixed the AI choosing rallypoints on land for shipyards

I hope this improves Naval AI and performance as it avoids impossible pathings. It should also help prevent problems when people create mods and get confused because the AI crashes as it relies on a `fact` actor somewhere in the rules although it is listed in no production queues.