cmd/libra: Fix division by zero.