Bug: Fix incorrect exception path being checked
Bug: Fix incorrect exception path being checked

The Package name is being passed to the ReportXINDEXResult functions have
underscores instead of spaces. If the underscores are not replaced, the
exceptions for the file will not be found. As is, the exception file for
the first error encountered will not be found due to the incorrect package
name.

Change the location of the replace command
to not just be after an exception was not found.  Instead place it just
before the foreach that searches the output.

OSEHRA-Id: http://issues.osehra.org/browse/OAT-73
Change-Id: Idb22f4a507edee3ebc84bd4aea0e483cbb83ad7c

OSEHRA-Sandbox/VistA,josephsnyder/VistA,OSEHRA/VistA,OSEHRA-Sandbox/VistA,apexdatasolutions/VistA,josephsnyder/VistA,jasonli2000/VistA,apexdatasolutions/VistA,mdgeek/VistA-FHIR-CWF,jasonli2000/VistA,timmvt/VistA_tt,mdgeek/VistA-FHIR-CWF,OSEHRA-Sandbox/VistA,shabiel/VistA,josephsnyder/VistA,shabiel/VistA,apexdatasolutions/VistA,mdgeek/VistA-FHIR-CWF,OSEHRA/VistA,shabiel/VistA,timmvt/VistA_tt,mdgeek/VistA-FHIR-CWF,jasonli2000/VistA,shabiel/VistA,timmvt/VistA_tt,mdgeek/VistA-FHIR-CWF,shabiel/VistA,shabiel/VistA,OSEHRA-Sandbox/VistA,timmvt/VistA_tt,jasonli2000/VistA,OSEHRA/VistA,OSEHRA-Sandbox/VistA,josephsnyder/VistA,OSEHRA/VistA,apexdatasolutions/VistA,josephsnyder/VistA,mdgeek/VistA-FHIR-CWF,OSEHRA/VistA,timmvt/VistA_tt,josephsnyder/VistA,OSEHRA/VistA,OSEHRA-Sandbox/VistA,apexdatasolutions/VistA