[FIX] Remove the dependency if the repository is removed.