Issue #88 - Fixed the logic

* It handles cases where the job is already in the queue and concurrent builds
are disabled. Jenkins usually responds with the job's URL as the location
header and hence the queue number will not be available.