@carlosmiranda RtGit used in MkGitTest  before I added my code changes for this issue. Although I can suggest the following test instead of existing one:

    public void canFetchOwnRepo() throws Exception {
        final Repo repo = repo();
        final MkStorage.InFile storage = new MkStorage.InFile();

        final JsonObject body = Json.createObjectBuilder()
                .add("repos", "").build();

        new JsonPatch(storage).patch(
            "/github",body
        );

        storage.apply(
            new Directives().xpath("/github/repos").add("repo")
                .attr("coords", "jeff/test")
                .add("name").set("test"));

        final Repo repo1 = new MkGit(storage, "jeff", repo.coordinates()).repo();
        MatcherAssert.assertThat(
                repo.toString(),
            Matchers.is(repo1.toString())
        );
    }

Is it looks like good for you?