only fail if given an egg file, not a directory ending in .egg
Merge pull request #155 from alanbbr/master

directories ending in .egg work