445069: [build][hudson] job state retrieval fails for jobs with an
apostrophe (')

Change-Id: I0e8e611347130b77562c4ec495fbe322f9c80006
Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=445069
Signed-off-by: Sam Davis <sam.davis@tasktop.com>