Don't clone the repository if it's already cloned

/cc @joshk