Lookup a blob object from a repository.
pointer to the looked up blob
the repo to use when locating the blob.
identity of the blob to locate.
0 on success; error code otherwise