Fix indexing of C modules that are part of a package.
Fix indexing of C modules that are part of a package.

Previously, e.g. PyQt4/QtCore.so would be indexed as PyQt4.PyQt4.QtCore.

alecthomas/importmagic,birkenfeld/importmagic,pombredanne/importmagic