@Test
public void nonExistentRepository() throws Exception {

	BuildRepository repo = new BuildRepository("a", "b", null);
	RepositoryStateOperation op = new RepositoryStateOperation(
			Collections.singletonList(repo));
	assertEquals(SCMRevisionState.NONE,
			op.invoke(git.tempDirectory(), null));
}