fix mine while caching is disabled

https://github.com/saltstack/salt/issues/5692

tested on 0.15.3