aktualizr-lite: return the latest target only if not null. 'if (it == hwid)' never true case
aktualizr-lite: return the latest target only if not null. 'if (it == hwid)' never true case

Signed-off-by: Mykhaylo Sul <70fbe5867b3824dc0357f3c0d748126b454c39d4@gmail.com>

advancedtelematic/sota_client_cpp,advancedtelematic/aktualizr,advancedtelematic/aktualizr,advancedtelematic/aktualizr,advancedtelematic/aktualizr,advancedtelematic/sota_client_cpp