remove repository def