Fix bug with handling non-matching lines in pi_revision().