Fix logging for string evaluated command (since the real command executed is not in this form)