saltstack/salt — pull request #4961 by basepi (2013-05-09 23:54:45+00:00)
Title: Only import pwd in one place, Fixes #4808

Also use `salt.utils.is_windows()` to check for windows.