Remove extraneous $PERCENT modification and do not divide by zero (!!!)

This line returns an empty string on my machine. I am not sure what the original author's intent was, but it seems unnecessary to have it there.