Fixes: #2716 Repositories should be associated to distro/section couples
Fixes: #2716 removed a forgotten print_r
Fixes: #2717 Repository type should be in the form