stripping distribution names for comparison