Fix duplicate host reads

As discussed in https://github.com/ansible/ansible/issues/3166 , this PR removes the double read of a given hosts file, thereby allowing it to accept a shell pipe.