browser: Check if repository is cloned for resolveRev
Created by: keegancsmith
Previously we relied on cloneInProgress. However, while a repository is in the queue to be cloned this is false. Instead we use the more reliable "cloned" field.
Follow-up on https://github.com/sourcegraph/sourcegraph/pull/4335#discussion_r290241304
Test plan: unit tests