recipe/postgres: fix regression with empty port
32fbf0d4 (recipe/postgres: support non standard port, 2021-11-12)
broke support for empty port, it was generating config file with
port =
, which is an invalid config file syntax for postgresql.
( This also contain minor unrelated fixes to the test )