Fix pkg upgrade in multi repo