fix for issues 34 and 35

solves issues:

34 pkgutil.get_loader().filename can be a directory
35 help finding out in which file PYTHON_ARGCOMPLETE_OK needs to be added