Update state.py

https://github.com/saltstack/salt/pull/7992#issuecomment-26747276