Adapt test of deprecated clone(RemoteConfig) for jgit/cli git difference