Fix #4939

Fix #4939 by using `salt.utils.is_windows()` wherever the exclusion lists only include Windows.