@Contract("!null -> !null")
    @Nullable
    default String toRemotePathOrSelf(@Nullable String localPath) {
      if (localPath == null) return null;
      String remotePath = toRemotePath(localPath);
      return remotePath != null ? remotePath : localPath;
    }
@Contract("!null -> !null")
    @Nullable
    default String toRemotePathOrSelf(@Nullable String localPath)