Convert many resolve_ref() calls to read_ref*() and ref_exists()
[git] / t / t5100 / empty