Prevent a segfault in MythSystemLegacyPrivate. This is just a hack to avoid the crash until we can figure out the root cause. Refs #11795
(cherry picked from commit 9059c42eab34bcdaa160afa988ed99c4ae30dbaa)