Correctly extract job number

Change-Id: I731d8b293c3e000de49966e21ac43ce2d4c49e4a