only fail if given an egg file, not a directory ending in .egg