Prevent NULL-pointer on older versions of OpenWrt. Signed-off-by: Daniel Golle <daniel@makrotopia.org>