A quick fix to the installer in the "postgres-only" (remote) mode.
couple of extra fixes for the installer/remote postgres mode.