Fix error with pip _get_installed_distributions
#1494
Merged
_get_installed_distributions
#1494