diff --git a/charts/common/init-db.sh b/charts/common/init-db.sh
index 5e3fc9e98694080728ee54fd323cba2f85a61ae8..6c325c909273c58ba96d21d8d35e6068dacfe060 100644
--- a/charts/common/init-db.sh
+++ b/charts/common/init-db.sh
@@ -116,8 +116,7 @@ if python3 manage.py id check {{ index (keys $.Values.global.collections | sortA
     {{- end }}
     {{- end }}
     {{- range $mask_type := $product_type.masks }}
-    python3 manage.py masktype create {{ $product_type.name | quote }} {{ $mask_type.name | quote }} \
-        {{- if $mask_type.validity -}} --validity \ {{- end }} --traceback
+    python3 manage.py masktype create {{ $product_type.name | quote }} {{ $mask_type.name | quote }} {{- if $mask_type.validity }} --validity {{- end }} --traceback
     {{- end }}
     {{- end }}{{/* range $.Values.global.productTypes */}}