Wrong Keymap on Mac Keyboard - "<" and "^" are switched
I know this will not help you but maybe others (worked for me for german layout on external keyboard):

If "&lt;" and "^" are switched on an external keyboard, the easiest way to "switch" them back is: if you are asked to press the button right to the left shift key (on german layout "&lt;") you simply press the button it is switched with, afterwards everything will work as normal.