main/postgresql-common: fix pg_versions when setting default to latest
Use latest version number instead of the litteral “latest” when checking whether postgresql is installed.
Use latest version number instead of the litteral “latest” when checking whether postgresql is installed.