fix inconsistency between java strings and groovy strings when collecting distributions