diff --git a/build_files/utils/make_utils.py b/build_files/utils/make_utils.py
index 9a3d25f4952b739cbcb6e39e0083b8a62a194ba3..e94c8e3550a88ac38f7cb0f04c1aab29f593fdeb 100755
--- a/build_files/utils/make_utils.py
+++ b/build_files/utils/make_utils.py
@@ -48,7 +48,7 @@ def git_branch(git_command):
 def git_tag(git_command):
     # Get current tag name.
     try:
-        tag = subprocess.check_output([git_command, "describe", "--exact-match"])
+        tag = subprocess.check_output([git_command, "describe", "--exact-match"], stderr=subprocess.STDOUT)
     except subprocess.CalledProcessError as e:
         return None