fix phantom call to cache_git_credentials