Adds Windows minion id guessing based on 'hosts' file
indentation error
fixed bad pattern matching
simplified loop
Merge pull request #6616 from iquaba/windows_hosts_file

Adds Windows minion id guessing based on 'hosts' file