Parse output of upload release to find out if rebase failed.

[Fixes #50392437]