Can't get path/reference to prefab inside Isolated Scene/Prefab Mode!!!

I need to get reference to prefab asset or path to it for editor mode purposes. (adding/removing subAssets)
When object is inside isolated scene/Prefab mode paradoxically any method from PrefabUtility to identify prefab is not working and AssetDatabase.GetAsetPath always returns empty string.
(only when clicking “save” or autosaving this methods are working but I need reference all the time)

Hello? Anybody?
I need it in urgent :confused: It is really so hard to get to know what is being edited?
I don’t need it for build, only editor purposes.