Reading global environment variable from function node

I had some time to dig around in the code base: Looks like you fell over an issue in the global env management for credential types. This needs to be fixed; as it is currently, you won't get the credentials value back.

I propose you raise an issue in the NR GitHub repo!