Fix ping plugin for unset host_from_grains in pillar

If the host_from_grains pillar isn't set, you get a jinja error about an
undefined variable in the ping plugin.