Fix PostgreSQL port configuration on install

Hi,

This pull request fixes an annoying bug on owncloud allowing it to install in PostgreSQL running on other port than 5432 (default)