erp5_test_result: Fix bug in the graph generation script