Log of application command line in the GUI is broken

Description

The log tab in application GUI should display the corresponding command It seems broken. For instance for the BandMath application, the input image is missing in the log :

2018-06-15 12:21:25 (INFO): otbcli_BandMath -out /home/grizonnetm/temporary/test.tif float -ram 128 -exp im1b1

Probably related to the refactoring of input app parameters (and missing test of this log feature:(

Steps to reproduce

Describe as precisely as possible how to reproduce the bug. Try to isolate a minimal number of steps. Also describe reproducibility (always, random ...).

Configuration information

OS, OTB version or tag, information related to build (binaries, superbuild, system libs ...)