Program: 22963
Project: 22963
Buggy source:
private Map<String,byte[]> loadIgSource(String src) throws Exception {
  if (src.startsWith("String_Node_Str") || src.startsWith("String_Node_Str")) {
    String v=null;
    if (src.contains("String_Node_Str")) {
      v=src.substring(src.indexOf("String_Node_Str") + 1);
      src=src.substring(0,src.indexOf("String_Node_Str"));
    }
    String pid=pcm.getPackageId(src);
    if (!Utilities.noString(pid))     return fetchByPackage(pid + (v == null ? "String_Node_Str" : "String_Node_Str" + v));
 else     return fetchFromUrl(src + (v == null ? "String_Node_Str" : "String_Node_Str" + v));
  }
  if (src.matches(PackageCacheManager.PACKAGE_REGEX) || src.matches(PackageCacheManager.PACKAGE_VERSION_REGEX)) {
    return fetchByPackage(src);
  }
  File f=new File(src);
  if (f.exists()) {
    if (f.isDirectory() && new File(Utilities.path(src,"String_Node_Str")).exists())     return loadPackage(new FileInputStream(Utilities.path(src,"String_Node_Str")),Utilities.path(src,"String_Node_Str"));
    if (f.isDirectory() && new File(Utilities.path(src,"String_Node_Str")).exists())     return readZip(new FileInputStream(Utilities.path(src,"String_Node_Str")));
    if (f.isDirectory() && new File(Utilities.path(src,"String_Node_Str")).exists())     return readZip(new FileInputStream(Utilities.path(src,"String_Node_Str")));
    if (f.isDirectory())     return scanDirectory(f);
    if (src.endsWith("String_Node_Str"))     return loadPackage(new FileInputStream(src),src);
    if (src.endsWith("String_Node_Str"))     return readZip(new FileInputStream(src));
    if (src.endsWith("String_Node_Str"))     return readZip(new FileInputStream(src));
    FhirFormat fmt=checkIsResource(src);
    if (fmt != null) {
      Map<String,byte[]> res=new HashMap<String,byte[]>();
      res.put(Utilities.changeFileExt(src,"String_Node_Str" + fmt.getExtension()),TextFile.fileToBytes(src));
      return res;
    }
  }
  throw new Exception("String_Node_Str" + src);
}

Fixed version (ground truth):
private Map<String,byte[]> loadIgSource(String src) throws Exception {
  if (src.startsWith("String_Node_Str") || src.startsWith("String_Node_Str")) {
    String v=null;
    if (src.contains("String_Node_Str")) {
      v=src.substring(src.indexOf("String_Node_Str") + 1);
      src=src.substring(0,src.indexOf("String_Node_Str"));
    }
    String pid=pcm.getPackageId(src);
    if (!Utilities.noString(pid))     return fetchByPackage(pid + (v == null ? "String_Node_Str" : "String_Node_Str" + v));
 else     return fetchFromUrl(src + (v == null ? "String_Node_Str" : "String_Node_Str" + v));
  }
  if ((src.matches(PackageCacheManager.PACKAGE_REGEX) || src.matches(PackageCacheManager.PACKAGE_VERSION_REGEX)) && !src.endsWith("String_Node_Str")) {
    return fetchByPackage(src);
  }
  File f=new File(src);
  if (f.exists()) {
    if (f.isDirectory() && new File(Utilities.path(src,"String_Node_Str")).exists())     return loadPackage(new FileInputStream(Utilities.path(src,"String_Node_Str")),Utilities.path(src,"String_Node_Str"));
    if (f.isDirectory() && new File(Utilities.path(src,"String_Node_Str")).exists())     return readZip(new FileInputStream(Utilities.path(src,"String_Node_Str")));
    if (f.isDirectory() && new File(Utilities.path(src,"String_Node_Str")).exists())     return readZip(new FileInputStream(Utilities.path(src,"String_Node_Str")));
    if (f.isDirectory())     return scanDirectory(f);
    if (src.endsWith("String_Node_Str"))     return loadPackage(new FileInputStream(src),src);
    if (src.endsWith("String_Node_Str"))     return readZip(new FileInputStream(src));
    if (src.endsWith("String_Node_Str"))     return readZip(new FileInputStream(src));
    FhirFormat fmt=checkIsResource(src);
    if (fmt != null) {
      Map<String,byte[]> res=new HashMap<String,byte[]>();
      res.put(Utilities.changeFileExt(src,"String_Node_Str" + fmt.getExtension()),TextFile.fileToBytes(src));
      return res;
    }
  }
  throw new Exception("String_Node_Str" + src);
}