don't append empty arguments in ParseCmdLine (fixes issue 2241)