Revert to use "self->repo" (#228)