Strip lvm WARNING: lines from output (#1157864)

LVM has started including a pile of WARNING: lines in its output. These
need to be removed before the return value lvm() is used.