Make tests work in a read-only repository.