Fix Guard OG crash #4821

Specifically adds back a valuable check that https://github.com/OpenRA/OpenRA/commit/dfd51c0caae05c525f71d7515ce83b3e6309d606#diff-d897b7e465afb3ac8dc229d7110c9b5bL85 removed, causing this crash.