Removed unused repo variable. Also, reposArray[i]'s using was wrong, here in callback.