Fix possible crash in campaign when returning home to factory that does not exist. Discovered by Coverity scanner.