EKL VPMReference.name attribute is empty for some parts

Hello! I am working on a project in which I need to access a specific part that gets selected during a VBA action, where its PLM ID gets stored in an intermediary text file which my EKL action then reads. This works great in the part that my action was created in, but when I run that action in another part from VBA using StartCommand, the VPMReference object returned by GetEditorRoots seemingly has it's name attribute set to "" (while the Name attribute is correct and completely fine). 

The other part is saved and does have a PLM ID, it's just that EKL is for some reason unable to access it. I am aware that this question is quite technical but I would be happy to hear if anyone has any ideas. Thanks!