making read-only reposes not fail