@VisibleForTesting
  public static @NotNull String toReportedTheme(@Nullable String theme) {
    if (theme == null) {
      return EMPTY_THEME;
    }

    String result = find(GNOME_THEME_NAMES, s -> s.equalsIgnoreCase(theme));
    if (result != null) {
      return result;
    }

    result = find(KDE_THEME_NAMES, s -> s.equalsIgnoreCase(theme));
    if (result != null) {
      return result;
    }

    result = find(GNOME_THEME_FAMILIES, s -> theme.startsWith(s));
    return result == null ? UNKNOWN_THEME : result + "*";
  }
@VisibleForTesting
  public static @NotNull String toReportedTheme(@Nullable String theme)