Fix parsing build status with parentheses in name

I noticed a problem with the Jenkins builds I was watching, it wasn't finding the status of the builds because we had custom names setup for building Gerrit patches, which included parentheses in the name.  I've made a small patch to fix it.