docs: public static String getImagePath(String imageTag) {
          int indexOfSlash = imageTag.indexOf("/");
          int indexOfLastColon = imageTag.lastIndexOf(":");
          String imageName;
          String imageVersion;
  
          if (indexOfLastColon < 0 || indexOfLastColon < indexOfSlash) {
              imageName = imageTag.substring(indexOfSlash + 1);
              imageVersion = "latest";
          } else {
              imageName = imageTag.substring(indexOfSlash + 1, indexOfLastColon);
              imageVersion = imageTag.substring(indexOfLastColon + 1);
          }
          return imageName + "/" + imageVersion;
      }