public static RelativeUnixPath get(String relativePath) {
    if (relativePath.startsWith("/")) {
      throw new IllegalArgumentException("Path starts with forward slash (/): " + relativePath);
    }

    return new RelativeUnixPath(UnixPathParser.parse(relativePath));
  }
Gets a new {@link RelativeUnixPath} from a Unix-style path in relative form. The {@code path}
must be relative (does not begin with a leading slash {@code /}).

@param relativePath the relative path
@return a new {@link RelativeUnixPath}
jib-build-plan/src/main/java/com/google/cloud/tools/jib/api/buildplan/RelativeUnixPath.java