refs tests: ignore ignore errno in test-ref-store helper