LibGit2: fix inverted credential helper loop logic
The loop was breaking when the credential was NOT filled, but per
git documentation: "Once Git has acquired both a username and a
password, no more helpers will be tried." The loop should break
when the credential IS filled.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>