improve except block, slightly
improve except block, slightly

str is implicit for %s, and re does not seem to be the best choice
for a local variable name, even if the re module is not used

matyasselmeci/htcondor-ce,matyasselmeci/htcondor-ce,opensciencegrid/htcondor-ce,brianhlin/htcondor-ce,opensciencegrid/htcondor-ce,matyasselmeci/htcondor-ce,brianhlin/htcondor-ce,brianhlin/htcondor-ce,opensciencegrid/htcondor-ce