Fixes saltenv and missing dirs
Merge branch 'fix-postgresql'

* fix-postgresql:
  Fixes saltenv and missing dirs