get the results page-wise until the required number of repositories is found