[cppmyth] Reset ranking to 0 on failure