As it turns out, I took a different approach to this problem. Rather than attempting to access the name of the unpacked location, I re-created the map package, and this time I selected the option "Reference all data", so that the edits would be saved in the location referenced in the map document.