diff --git a/rancher-turtles-airgap-resources-chart/_service b/rancher-turtles-airgap-resources-chart/_service
index 6b8f891..415ab01 100644
--- a/rancher-turtles-airgap-resources-chart/_service
+++ b/rancher-turtles-airgap-resources-chart/_service
@@ -2,7 +2,7 @@
Chart.yaml
- IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %img_prefix)
+ IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix})
IMG_PREFIX
diff --git a/rancher-turtles-chart/_service b/rancher-turtles-chart/_service
index c3f6878..4f6fb26 100644
--- a/rancher-turtles-chart/_service
+++ b/rancher-turtles-chart/_service
@@ -2,14 +2,14 @@
values.yaml
- IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %img_prefix)
+ IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix})
IMG_PREFIX
IMG_REPO=$(rpm --macros=/root/.rpmmacros -E %img_repo)
IMG_REPO
Chart.yaml
- IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %img_prefix)
+ IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix})
IMG_PREFIX