fateserver: prevent division by 0, and therefore 500 error

... when no fate data is present.

Signed-off-by: Timothy Gu <timothygu99@gmail.com>