Corrects main key in package file