code: private synchronized Path getInputPath() throws IOException {
          if (sanitizedInputPath == null) {
              // No need to query Hadoop more than once as this shouldn't change mid-run,
              // thus, we can lazily initialize and cache the result.
              Path path = new Path(props.getString(BUILD_INPUT_PATH));
              sanitizedInputPath = HadoopUtils.getSanitizedPath(path);
          }
          return sanitizedInputPath;
      }
docs: Get the sanitized input path. At the moment of writing, this means the
  #LATEST tag is expanded.