@Test
public void resolveExisting() throws Exception {

	BuildRepository buildRepo = new BuildRepository("a", "b", null);
	FileRepositoryOperation op = new FileRepositoryOperation(buildRepo);
	Repository repo = op.invoke(git.repo().getDirectory(), null);
	assertNotNull(repo);
	assertEquals(git.repo().getDirectory(), repo.getDirectory());
}