Job reuse bugfix: do not reuse completed jobs that have NULL output.