fix for exception while running setup.py egg_info