Making salt.grains.core python3 compatible
List call not needed. Changing it back to what it was
Merge pull request #17739 from nmadhok/grains-python3-core

Making salt.grains.core python3 compatible