Dont list branches

This broke today when pagination was enforced. Just fetch a single branch SHA instead of iterating over all branches.

cc @atmos