static-checks-include-order.sh: Use refs/heads/ prefix for disambiguation

Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
Change-Id: I4cf2d710d5b848b29041a13bd50dd3d38299c341
diff --git a/script/static-checks/static-checks-include-order.sh b/script/static-checks/static-checks-include-order.sh
index f7a04aa..169e1ff 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 "$TF_GERRIT_BRANCH" \
+      --patch --from-ref "refs/heads/$TF_GERRIT_BRANCH" \
       &> "$LOG_FILE"
 else
   echo "# Check order of includes of the entire source tree"