check if repo clone before analysis