Fix asterisk.pdf generation if branch name has an underscore in it.