minor bugfix, need to have this outside of get_distribution in order to work for nested namespace packages