Remove unreferenced CliGitAPIImpl.checkCredentials method