submodule-config.c: use repo_get_oid for reading .gitmodules