remove self.repository in favour of self.branch.repository