Statistics script: Fix configuration loading

Signed-off-by: Jerome Flesch <jflesch@gmail.com>