Moved null ref check to line before dereferencing

Issue-ID: AAF-837
Change-Id: I67d258a1b585eaa683dc75cfcd18bbbe41a34743
Signed-off-by: AlexMolyavko <o.moliavko@samsung.com>
1 file changed