Making salt.modules.at python3 compatible

Does it really need two calls to list? I bet there is an easier way...