Empty dict if not defined
diff --git a/aptly/files/aptly-publisher.yaml b/aptly/files/aptly-publisher.yaml
index f0273c3..be90d06 100644
--- a/aptly/files/aptly-publisher.yaml
+++ b/aptly/files/aptly-publisher.yaml
@@ -9,6 +9,8 @@
       - {{ distribution }}
       {%- endfor %}
 {%- endfor %}
+{%- else %}
+repo: {}
 {%- endif %}
 
 {%- if server.mirror is defined %}
@@ -21,4 +23,6 @@
       - {{ distribution }}
       {%- endfor %}
 {%- endfor %}
+{%- else %}
+mirror: {}
 {%- endif %}