chore(app/device_assignment): add NULL checks

Signed-off-by: Mate Toth-Pal <mate.toth-pal@arm.com>
Change-Id: Ic762950cb1fcb1188b0588902d87959212b15db2
2 files changed