libdbp: Fix logging of patch command output