test-ref-store: avoid passing NULL to printf