Fix for extracting full module name out of full path name.
Fix for extracting full module name out of full path name.

Sage compiles and -testall reports success.

bhy/cython-haoyu,bhy/cython-haoyu,bhy/cython-haoyu,bhy/cython-haoyu