Ensure that git clone is idempotent.