git-cl-upload: make it possible to exit WIP mode

The previous CL forgot that the lack of '%wip' doesn't
mark a change ready-to-review, you have to explicitly pass
'%ready' in the refspec to do that.

TBR=tandrii@chromium.org

Bug: 721836
Change-Id: Iea82222d64edf1b73fefa9bca3feec4188e35ab3
Reviewed-on: https://chromium-review.googlesource.com/551005
Reviewed-by: Aaron Gable <agable@chromium.org>
Commit-Queue: Aaron Gable <agable@chromium.org>
diff --git a/git_cl.py b/git_cl.py
index 213ff91..5b945b9 100755
--- a/git_cl.py
+++ b/git_cl.py
@@ -3016,7 +3016,9 @@
     # https://gerrit-review.googlesource.com/Documentation/user-upload.html
     refspec_opts = []
 
-    if not options.send_mail:
+    if options.send_mail:
+      refspec_opts.append('ready')
+    else:
       refspec_opts.append('wip')
 
     # TODO(tandrii): options.message should be posted as a comment