Improve detection of Python module path.

Fix is working towards good MacPorts support.
Work on proper discovery of Python paths.