getdp: removed optional petsc dependence 

Removed the petsc dependence of getdp. It was there because I started being ambitious but then realized that fixing the petsc is something for the future...