The error should be returned explicitly, because when the default URL is used S3 will return a 301 and the response can't be handled by restic. Fixes #4178 Signed-off-by: Daniel Jiang <jiangd@vmware.com>