loader: change get_mgroup policy and search for a `project.ini` in parent directories