Directory with __init__.pyc file is a package dir

Consider a directory with __init__.pyc as a package directory.
Merge pull request #291 from gandalf013/patch-1

Directory with __init__.pyc file is a package dir