static-checks-include-order.sh: Use "origin/" prefix

Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
Change-Id: Ie8910507cfa1d6b94b4d6e5671486625c78427e7
diff --git a/script/static-checks/static-checks-include-order.sh b/script/static-checks/static-checks-include-order.sh
index 169e1ff..fb1434e 100755
--- a/script/static-checks/static-checks-include-order.sh
+++ b/script/static-checks/static-checks-include-order.sh
@@ -13,7 +13,7 @@
   echo "# Check order of includes on the last patch"
   TEST_CASE="Order of includes on the last patch(es)"
   "$CI_ROOT/script/static-checks/check-include-order.py" --tree "$1" \
-      --patch --from-ref "refs/heads/$TF_GERRIT_BRANCH" \
+      --patch --from-ref "origin/$TF_GERRIT_BRANCH" \
       &> "$LOG_FILE"
 else
   echo "# Check order of includes of the entire source tree"