HGI-7267 | Add paging logs and stop paging when receiving empty array
Github limits the PR files endpoint to 3000 records. When that happens, Github returns an empty array, but still links you to the next page. This causes us to request 100s of pages for no reason.