Adds ANONYMOUS provider type when checking for repositories on a product

and fixes repository listing from the API and sync pages.