Updated function to remove product/repo from cv