Make `_pyi_egg_install` test if the eggs-directory exists.