added conditional for failed repo clones