FIX: don't crash on buggy keymap xml