Tidy up the branch string we get from using the %d placeholder