fix bug when perfdata request returns None