Remove debug output unless $DEBUG is set.

[ci skip]