fix updating from 2.x
fix updating from 2.x

In this case firmware_target_versions will include gateway_service
without success:true or state:ACTIVATED while the updated code is
currently running.

openmotics/gateway,openmotics/gateway