default boolean needPrepareTarget() {
    Project project = (this instanceof RunConfigurationBase<?>)
                      ? ((RunConfigurationBase<?>)this).getProject()
                      : null;
    String targetName = TargetEnvironmentConfigurations.getEffectiveTargetName(this, project);
    if (targetName == null) return false;

    TargetEnvironmentType<?> type = TargetEnvironmentType.EXTENSION_NAME.findFirstSafe(t -> {
      return targetName.equals(t.getDisplayName());
    });
    return type == null || !type.isLocalTarget();
  }
default boolean needPrepareTarget()