Making salt.daemons.masterapi python3 compatible
List call not needed. Changing it back to what it was
Merge pull request #17723 from nmadhok/daemons-python3-masterapi

Making salt.daemons.masterapi python3 compatible