Fixes #8743 - Repo Index returns promoted repos

Updated repo index call to return repositories belonging
to paticular env and content view combination