release finish: Roll back branches on some errors

Master and develop is not reset to the origin position when it fails to
submit the review requests or push the changes to GitHub in the end.