public static void addPathToEnv(@NotNull Map<String, String> env, String key, String value) {
    if (!StringUtil.isEmpty(value)) {
      if (env.containsKey(key)) {
        env.put(key, addToPathEnvVar(env.get(key), value, false));
      }
      else {
        env.put(key, value);
      }
    }
  }
public static void addPathToEnv(@NotNull Map<String, String> env, String key, String value)