Hacked out the pwd module when ansible is running on Windows.