Add repo key before adding repo