fix parsing of default keymaps

Remove unwanted returns to fix parsing of default keymaps.