git_submodule_resolve_url uses origin if no remote for HEAD found