Regression: cannot clone with `includeIf.onBranch`
Starting with Git v2.44.0, functionality to clone a repository with inludeIf.onBranch
conditions fails. Reported via https://lore.kernel.org/git/72771da0-a0ef-4fd9-8071-6467cd7b6a6b@kernel-space.org/.