Depend from which node it's called. You have the same script attached to the node in the main scene as well as to the node in the instanced scene. The path seems to be valid when called from instanced scene but not valid when called from the node in the main scene.
It looks like you messed something up with node organization. That script should be attached either in the main scene or in the instanced scene, but not both.