It's not easy, but it's is doable. I can do that myself after you merge this PR.

That's how one would proceed:
1) check that the `shortname` doesn't change inside `buf_modname`
2) git grep buf_modname and check all calls

Alternatively, one could start checking when `shortname` is true and remove this code first.