More agnostic Python handling of missing key in args for keybindings