Don't use PRUN on a command that has a pipe "|"

Otherwise we get binary content (images) in the log file.

Change-Id: I4f1d1bc22adc145f7e7ee668538afdac72ac9e6a
Closes-bug: #1350645