In 'pip freeze PKG', compare safe names (was lowercase names).