Fixes a bug where config variable is set to None when an invalid value is provided and CTRL+X is entered afterwards.
Link: https://github.com/hummingbot/hummingbot/pull/5117