There are two US keyboard layouts: the 102 key (I think, I didn't count

) which has the tall return key on the right hand side and moves the pipe and backslash key next to the single and double quote key, and then there's the 101 key keyboard, with a wide return key, that's only a standard key high.
The former of these two has the paragraph sign next to the 1 key, because the left shift key is smaller such that there is space for the backquote/tilde key between it and the z key.
The latter has the backquote/tilde key next to the one key. I attach pictures that show the Mac OS X keyboard viewer's display of both types of keyboard. The kext recognizes the 102 key version, even if what's present is the 101 key version. So what needs to be changed is the detection code, not a patch that returns a different character for the key.
The fact that the wrong keyboard is recognized you can double check by using the keyboard viewer from the input method menu, and you will see that it shows you a 102-key style keyboard.