Handle bad repository uri