LN: Fix possible NPE

Change-Id: Iced239623d6580dcade06cd9a3f82a4d109e0aca