Bug fix: don't segfault on invalid gamename in legacyms.