[statistic] Don't crash on shutdown when no performence log was specified