Add logging to "cloneRepository()"