Fix traceback when sending invalid data.
Fix traceback when sending invalid data.

Running euca-terminate-instance with invalid data results
in a traceback and a hang. This fixes bug 965225

Change-Id: I0b547d527bca5fb86ff650188ac903066361d933

eneabio/nova,eneabio/nova,sileht/deb-openstack-nova,yrobla/nova,eneabio/nova,yrobla/nova,sileht/deb-openstack-nova,sileht/deb-openstack-nova,yrobla/nova