EUCA-4876
fixed reference to instance state, so we pick up state from old boto 2.5.2 and newer code as well