tests/gendata: Fix unused variable

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