Fix gh#7747 - filter bare newline output and log client pull to stdout

Docker-DCO-1.1-Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com> (github: estesp)
Merge pull request #7942 from estesp/7747-stderr-stdout-bug

Fix gh#7747: filter bare newline output and log client pull to stdout