fix s3 repo download