Issue #832, check source state files exist before rendering.
Issue #832, check source state files exist before rendering.

Bonus removal of call to globals.

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