steal-commits: correctly handle commits already in tree

Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
1 file changed