Added sanity check: is 'pillar' in self.opts
Added sanity check: is 'pillar' in self.opts

This fixes an exception that is thrown when using the 'when' clause in a
master scheduler. The master does not appear to create a 'pillar' entry
in self.opts

saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt