Better detect the variant used in analysis board
Better detect the variant used in analysis board

fix https://github.com/ornicar/lila/issues/9952

arex1337/lila,luanlv/lila,luanlv/lila,arex1337/lila,luanlv/lila,arex1337/lila,luanlv/lila,arex1337/lila,arex1337/lila,luanlv/lila,luanlv/lila,luanlv/lila,arex1337/lila,arex1337/lila