When there are duplicate headers in the metrics file don't try to generate a PDF as it will crash and burn

git-svn-id: http://svn.code.sf.net/p/picard/code/trunk@1567 8bce386e-0d6e-43e0-b1ca-608082c0432d
Merge remote-tracking branch 'upstream'