Changed OnRepos function

Forgot to fix this function so it would work with the new service. Now i
am getting the correct data