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
Merge pull request #238 from bhuvaneswaran/stories/237

fix for #237