Fix the use of jobcode that got removed by mistake.
This fixes bug #9789