diff --git a/infra/image/shcontainer b/infra/image/shcontainer
index 71b086d5272867a274140b002f0943af87712d05..c92cbf192465068dec5b318a4673563c73e344f0 100644
--- a/infra/image/shcontainer
+++ b/infra/image/shcontainer
@@ -204,8 +204,8 @@ container_tee() {
     local destination=${2}
     tmpfile=$(mktemp /tmp/container-temp.XXXXXX)
 
-    log info "= Creating ${name}:${filename} from stdin ="
-    cat - > ${tmpfile}
+    log info "= Creating ${name}:${destination} from stdin ="
+    cat - > "${tmpfile}"
     podman cp "${tmpfile}" "${name}:${destination}"
     rm "${tmpfile}"
     echo