Fix pass rate calculation

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>