Guard against incomplete responses, catching a potential nil error
Guard against incomplete responses, catching a potential nil error

Also changes the query to filter out unrequired connections, which
reduces both the file over the wire, and the number of requests made
when deleted connections hand around.

hundredacres/puppetlabs-aws,bmjen/puppetlabs-aws,DavidS/puppetlabs-aws,zreichert/puppetlabs-aws,jhoblitt/puppetlabs-aws,akozichev/puppetlabs-aws,BashtonLtd/puppetlabs-aws,marksyme/puppetlabs-aws,bmjen/puppetlabs-aws,daveseff/puppetlabs-aws,garethr/puppetlabs-aws,akozichev/puppetlabs-aws,zvymazal/puppetlabs-aws,sarguru/puppetlabs-aws,sarguru/puppetlabs-aws,zleswomp/puppetlabs-aws,hundredacres/puppetlabs-aws,gregohardy/puppetlabs-aws,Yelp/puppetlabs-aws,akozichev/puppetlabs-aws,gregohardy/puppetlabs-aws,zreichert/puppetlabs-aws,garethr/puppetlabs-aws,daveseff/puppetlabs-aws,puppetlabs/puppetlabs-aws,tamsky/puppetlabs-aws,sarguru/puppetlabs-aws,BashtonLtd/puppetlabs-aws,BashtonLtd/puppetlabs-aws,zleswomp/puppetlabs-aws,benpillet/puppetlabs-aws,jhoblitt/puppetlabs-aws,DavidS/puppetlabs-aws,rfletcher/puppet-aws,CarmenAPuccio/puppetlabs-aws,rfletcher/puppet-aws,tamsky/puppetlabs-aws,bmjen/puppetlabs-aws,marksyme/puppetlabs-aws,puppetlabs/puppetlabs-aws,CarmenAPuccio/puppetlabs-aws,HelenCampbell/puppetlabs-aws,benpillet/puppetlabs-aws,Yelp/puppetlabs-aws,Yelp/puppetlabs-aws,lattwood/puppetlabs-aws,zvymazal/puppetlabs-aws,lattwood/puppetlabs-aws,zreichert/puppetlabs-aws,HelenCampbell/puppetlabs-aws