Test for repo before removing leading colon