checking for pg_conn cofig value in a nicer way
Merge pull request #341 from InsolvencyService/fix_auto_merge_issue

checking for pg_conn cofig value in a nicer way