packager: make sure that dbserver is ready
packager: make sure that dbserver is ready

Former-commit-id: 6b40712b23887f5be1b15c07d7ddaf81b700e2c0 [formerly 6b40712b23887f5be1b15c07d7ddaf81b700e2c0 [formerly 00ffb4ecd0a46d499a9210911401e72ca41b8a3b]]
Former-commit-id: e098410d8f959040509b9dd45c69d03c0d3e84f1
Former-commit-id: 7353bb3323731ea6dcf1a481f471f5a15cf3ec57
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine