exitcode: Fix PM-707

The pegasuslite_failures function did not check for missing
stderr files. As a result, if exitcode was called in a scenario
where there was no .err file, then it failed trying to determine
if None is a valid path.