make sure that paths are well formed in a S3 repository