postgreSQL: bugfix $HOSTNAME with sh -> dash