Fix issue with S3 blobstore in non-standard endpoint