So change this line to this?

```ruby
@repo.puppet? ? @repo.index_puppet_modules : @repo.index_packages
```