fix refresh_instance with blank :wait_for_state option