Swift: pkgsrc list() accesses directly self.items