Be more careful with modname matching.

Without this, the 'git' processor winds up being chosen to handle 'github'
messages, which is not what we want.