Checking connection to repo