tbh I'm not entirely sure. In the bugzilla comment I narrated this in real time - got an assertion failure without knowing quite why. That's a red flag, but looking at it, it seems to me that it just isn't finding a part of the string (parens in the func name iirc) that it doesn't need anyway. So I figured if it isn't there, just leave the line unmodified. When I ran it before and after, the output was the same in my tests so I'm pretty sure nothing is actually breaking.