Add a workaround for psql dockerfile.