Issue #3080: Refactor find_module_path(), use return instead of break

Prepare also the API change of case_ok()
1 file changed