python: Don't resend last cmd on empty input from user.