latex_mods: don't fail on checking None

Signed-off-by: Erik Bernoth <erik.bernoth@gmail.com>