Properly think python `.egg`'s. Fixes #16567