Fix git cl upload --dependencies for Gerrit.
Fix git cl upload --dependencies for Gerrit.

BUG=640299
R=rmistry@chromium.org,bbed39beedae4cdb499af742d2fcd6c63934d93b@chromium.org

Change-Id: Iac987758065c57a4a08ce98f838fc0c30a8c1a02
Reviewed-on: https://chromium-review.googlesource.com/432676
Commit-Queue: Andrii Shyshkalov <a30c74fa30536fe7ea81ed6dec202e35e149e1fd@chromium.org>
Reviewed-by: Aaron Gable <bbed39beedae4cdb499af742d2fcd6c63934d93b@chromium.org>

CoherentLabs/depot_tools,CoherentLabs/depot_tools