removes extra non required sql statements in products index page

- unused queary to load all repositories
- n+1 queries to count repos per product.