LN: Fix possible NPE

Change-Id: I597021f64aaee43b6964e2b6709ebd427b0a7cbc