Phabricator: Fix get_next_target_from_response return type
Without that fix, errors are raised when one wants to list Phabricator repositories in a specific index range. The issue is due to a comparison between a string and an integer. So convert next extracted repository index to integer to match the corresponding model type.
Depends on !99 (closed)
Closes #1997 (closed)
Test Plan
A new test has been added for range listing.
Migrated from D1984 (view on Phabricator)