Try importing petsc before looking at PETSC_foo envvars