TypeError: Cannot read property 'jobs' of undefined

If Jenkins crashed, it would cause a TypeError in node-jenkins. I've cleaned up for linting and checked for when `data` is undefined.