Fix if
condition for s3/conda uploads
#6146
Merged
if
condition for s3/conda uploads
#6146