1f4a72df20
The function gained a second code path to support Docker E2E tests with
file:// remotes — when ProviderOwner/ProviderName are both empty and
LocalPath is set, it shells out to git remote get-url origin. The
original table-driven test had eight cases, none of which exercised
the new branch.
Add a dedicated TestRepositoryCloneURL_LocalPathFallback with four
sub-cases:
- local-only repo with a valid origin remote → returns the URL
- local-only repo without an origin remote → returns empty
- local-only non-git directory → returns empty
- no provider and no local path → returns empty (regression for the
early-return branch the old table already covered)