locate_object(
git_dir,sha_hex) ->where
Say where an object lives, without reading it
Returns { kind = "loose", path = path } for a loose object, or
{ kind = "pack", pack = pack_path, offset = n } for a packed one, with
the offset of its entry in the pack. Returns nil when no object has the
id. A loose copy wins over a packed one, as in read_object.