cli: Fix a possible crash when no arguments other than the execution program.