Fix error when provisioning without postgresql.

Fixed: #29