fix for #237

When the first job for the job was deleted and there is only one job (latest?)
in the build, get_job() API fail with TypeError.

This commit fixes this issue.
  https://github.com/salimfadhley/jenkinsapi/issues/237