pdf2john, fix problem introduced with 292b35c. Closes #789.