Fixed tilde and added check on failed clone