[client] Fix a GC bug.

Clone manager should set both REPO_LOCAL_HEAD and REPO_REMOTE_HEAD
properties after download is finished.