Fix bad job dependency generation.