fixes for minion.py wrt grains change per pylint

fyi @cachedout :)