Fixes https://github.com/ennexos/local-device-sdk/issues/125
Fixes https://github.com/ennexos/local-device-sdk/issues/125

Remove potential npe

Signed-off-by: Peter Kriens <8ac8092331bb621432cbd9fbe40e52149af05592@aqute.biz>

psoreide/bnd,psoreide/bnd,psoreide/bnd