Addresses issue https://github.com/saltstack/salt-cloud/issues/478.

Queries to list EC2 instances return a dict but could return a list for stopped instances. Need to hand both. See the issue cited above for example error messages in the log .
fixed indentation.