Minor fix in PETSc4Py detection.