Fix boolean argument serialization appending empty string
Summary
Boolean flags like --replay-blockchain were incorrectly serialized with an empty string value appended, producing ['--replay-blockchain', ''] instead of just ['--replay-blockchain'].
This caused hived to fail on startup when tests used boolean arguments like replay_blockchain=True.
Changes
Modified __prepare_arguments in arguments.py to check if the converted value is non-empty before appending it to the CLI arguments list.
Test plan
-
Verify boolean flags produce correct CLI output (e.g., --replay-blockchainwithout trailing empty string) -
Run hive CI tests that use replay_fromparameter