In _resolv_genres wo do not have to explicitly check if self.c14n_branches is not empty. The tree will have been loaded when self.canonicalize is truthy. Also if self.c14n_branches would be empty the canonicalization is a no-op anyway...