Making salt.states.serverdensity_device python3 compatible
List call not needed. Changing it back to what it was
Merge pull request #17605 from nmadhok/states-python3-serverdensity_device

States python3 serverdensity device