cli: Fix bug when not using headers
cli: Fix bug when not using headers

Commit 9fe72672 added code to not write spaces at the end of each line.
Unfortunately it didn't work properly when not printing headers—there would
still be spaces.

Signed-off-by: Michael Hanselmann <68b67885ff74281219b4a4be33cc20fd45078d7c@google.com>
Reviewed-by: Iustin Pop <acf83a5274f31a43af6b914614365999469c1a31@google.com>

bitemyapp/ganeti,ganeti/ganeti,onponomarev/ganeti,ganeti-github-testing/ganeti-test-1,leshchevds/ganeti,ganeti/ganeti,onponomarev/ganeti,mbakke/ganeti,leshchevds/ganeti,grnet/snf-ganeti,grnet/snf-ganeti,leshchevds/ganeti,andir/ganeti,ganeti-github-testing/ganeti-test-1,yiannist/ganeti,mbakke/ganeti,mbakke/ganeti,dimara/ganeti,andir/ganeti,ganeti/ganeti,apyrgio/snf-ganeti,andir/ganeti,apyrgio/snf-ganeti,apyrgio/ganeti,yiannist/ganeti,bitemyapp/ganeti,apyrgio/ganeti,dimara/ganeti,yiannist/ganeti