fixed pdo exeption for hook_install()
Merge pull request #2 from dragos-dumi/master

fixed pdo exception