gpick: fix incorrect rejection of ROOT and @{upstream} parent commits


don't try to validate 'ROOT' and '' (upstream) as real commits, as this
would obviously fail. this would affect only the use as SPEC_PARENT, as
SPEC_BASE is whitelisted anyway.

Change-Id: I7a4f76c5e6a550c03d58f9042bd0f911c39007c0
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
commitb5fe9961c3b1e3d2baa52d092a23ef7e2974af37
parenta90c8c9c18c0d95c36f63eeb9e709a03683c604e
authorOswald Buddenhagen <oswald.buddenhagen@gmx.de>
committerOswald Buddenhagen <oswald.buddenhagen@gmx.de>
commit timeTue, 9 Jan 2024 16:38:07 +0000