fix bug when perfdata request returns None
Merge branch 'bugfixes'