UGameMapsSettings::GetGameModeForMapName

Searches the GameModeMapPrefixes list for a named game mode, if not found will return passed in string