This MR adds protection from crash when derivations which do not contain input needed for PLIV are used.
cc @fcardill @wendlanb @gproto