docs: static public remoteLocation extractLocationAndPath(String stageLocationPath)
    {
      String location = stageLocationPath;
      String path = "";
  
      // split stage location as location name and path
      if (stageLocationPath.contains("/"))
      {
        location = stageLocationPath.substring(0, stageLocationPath.indexOf("/"));
        path = stageLocationPath.substring(stageLocationPath.indexOf("/") + 1);
      }
  
      return new remoteLocation(location, path);
    }