Followup 0568d36133 S3 itself and other S3-compatible providers do not allow using an S3 custom endpoint and dualstack at the same time, so this commit fixes that by not using dualstack when the endpoint is present.
0568d36133