Fixing defaults.py for 2014.1rc3

The arguments changed a bit in 2014.1rc3 and defaults.py was unable to find the sls name.

If there is a better way to find the sls and template name for the current sls or template then please let me know. Crawling the stack works, but its not ideal.