gpush/gpull: return ROOT early in get_1st_parent_tree()


this clarifies the code by not pretending that we may get a commit for
it.

Change-Id: I4d76b914774c5dae0b5c57720071faacca689aac
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
commit5f81c08cbc8f633ad272e116abc0312222cae967
parent95ae632c17d587e919930b9876b3a5646370c639
authorOswald Buddenhagen <oswald.buddenhagen@gmx.de>
committerOswald Buddenhagen <oswald.buddenhagen@gmx.de>
commit timeTue, 9 Jan 2024 16:34:32 +0000