Making salt.modules.macports python3 compatible
List call not needed. Changing it back to what it was
Merge pull request #17437 from nmadhok/modules-python3-macports

Making salt.modules.macports python3 compatible