TypeError: argument of type 'NoneType' is not iterable

Worked in 1.9.x, fails with error in 2.0 (see subject line for error)

roles/x/vars/main.yml

Additional note, only fails if the inventory_hostname in question at the time is a windows server, I can work around that with a when clause.