Minor fix/workaround for some Number=R format fields

FORMAT/DPR has a length of 2 when ALT == '.' (second value is 0).
I'm unsure if that is a bug in samtools mpileup or allowed by the VCF v4.2 spec.

Anyway, it is easy to to do a workaround.

You might want to add a check to ensure that the actual value of the second element is '.' or '0' (as noted in the comment).  I don't know the structs well enough off to do that off the top of my head.

PS: (apologies in advance for being pedantic)
Everyone really should (almost) always enclose conditionally executed code (after 'if' or 'else' at least) in curly-braces.  Even one line statements.