static {
   File etcDir;
   try {
     etcDir = EngineLocalConfig.getInstance().getEtcDir();
   } catch (IllegalArgumentException iae) {
     etcDir =
         new File(
             ""); // Can't find etcDir, most likely unit tests, pretend there is no branding.
   }
   instance = new BrandingManager(etcDir);
 }
 /**
  * Returns UI plugin <em>config path</em>, under which UI plugin configuration (JSON) files are
  * placed.
  */
 public static String resolvePluginConfigPath() {
   return ConfigUtil.resolvePath(
       EngineLocalConfig.getInstance().getEtcDir().getAbsolutePath(), UI_PLUGIN_DIR);
 }