Guards against NPE in ElFunctionUtils.listLayouts.