Fix getting key cpu_model from pillar
Change-Id: Idd9d5a114ea222f2063456d76cb3716806acd942
diff --git a/nova/files/pike/nova-compute.conf.Debian b/nova/files/pike/nova-compute.conf.Debian
index f41d26b..7a1e90a 100644
--- a/nova/files/pike/nova-compute.conf.Debian
+++ b/nova/files/pike/nova-compute.conf.Debian
@@ -6456,7 +6456,7 @@
# This would result in an error and the instance won't be launched.
# * ``virt_type``: Only the virtualization types ``kvm`` and ``qemu`` use this.
# (string value)
-{%- if compute.get('libvirt', {}).get('cpu_model') is defined %}
+{%- if compute.get('libvirt', {}).cpu_model is defined %}
cpu_model = {{ compute.libvirt.cpu_model }}
{%- else %}
#cpu_model=<None>