I think I figured out how to make it work, but I don't know if it breaks anything. In conjunction with the change above, I also did this:
Changed custom_import.py line 49 from: return self.std_python_importer(name, globals, locals, fromlist, level) To this: if sys.version_info[:2] == (2, 4): return self.std_python_importer(name, globals, locals, fromlist) else: return self.std_python_importer(name, globals, locals, fromlist, level)