Add postgres repo source correctly.
Switch official repo based on OS codename, fallback to official repos