Bug 18055: (QA followup) Only print output if DEBUG