Hide database errors when setting the search path

It's needed to allow ROLLBACK to be executed on the DB. It resolves
issue #191.
Merge pull request #193 from bdauvergne/wip/fix-database-transaction-errors

Hide database errors when setting the search path