Support retrieving EC2 state/previous_state when using newer versions of Boto.