diff --git a/gitlab/functions.sh b/gitlab/functions.sh
index e0b6b03d4864593add74c64757b94c83852fbf55..1874184c85773eb54412ce378c6ca30a9d0fce3b 100644
--- a/gitlab/functions.sh
+++ b/gitlab/functions.sh
@@ -85,10 +85,16 @@ check_defined() {
 }
 
 
+# Logs a given environment variable to the screen
+log_env() {
+  log_info "${1}=${!1}"
+}
+
+
 # Checks a given environment variable is set (non-zero size)
 check_env() {
   check_defined "${1}"
-  log_info "${1}=${!1}"
+  log_env "${1}"
 }
 
 
@@ -396,7 +402,7 @@ set_next_bob_build_number() {
 }
 
 
-check_env PYTHON_VERSION
+log_env PYTHON_VERSION
 check_env CI_PROJECT_URL
 check_env CI_PROJECT_DIR
 check_env CI_PROJECT_PATH