Fix crash if populating packages in two processes