the test `test/integration/test_job_resubmission.py::TestJobResubmissionToolDetectedErrorResubmitsIntegration`
resubmits with:
```
<destination id="local_resubmit" runner="local">
<env id="GX_TARGET_EXIT_CODE">4</env>
<resubmit condition="tool_detected_failure" destination="local_good" />
</destination>
<destination id="local_good" runner="local">
<env id="GX_TARGET_EXIT_CODE">0</env>
</destination>
```
since env variables are lost on resubmission the current test
was still evaluated successful (because `${GX_TARGET_EXIT_CODE:-0}`).
Now the test fails if `GX_TARGET_EXIT_CODE` is not set.