Fix env job metrics plugin for multi-line properties.
Thanks to Nicola Soranzo for detailed bug report.