Test to see if DBD::Pg is installed

Hi!

I got an error while installing on my new laptop, which I fixed with this commit.

Cheers,

Kjetil