not env when minion not in the top.sls

https://github.com/saltstack/salt/pull/9312
Merge pull request #9583 from halfss/patch-1

not env when minion not in the top.sls