pnget: Actually check return value on the second read.

Found by the Clang static analyzer.