You can now use PerfDatas() to parse None perfdatas

PerfDatas would succesfully parse empty strings but not None.

Passive check results sometimes have None as a perf_data. This will let you parse them anyway.
can be a problem with utf8/unicode part that will raise an exception. It can be better to really manage None in a if and put '' in s instead.