Updated newrepo to take into account directory that exists