packaging: setup: postgres: wait for database after start

errors reported in which setup failed to configure database in slow
machines.

Change-Id: If7a8945c39127efa4aa760c334a511557cd2ab59
Signed-off-by: Alon Bar-Lev <alonbl@redhat.com>