Added an undefinded check so that the module doesn't crash if the property is not there.
Added an undefinded check so that the module doesn't crash if the property is not there.

mjmostachetti/grasshopper-core-nodejs,Solid-Interactive/grasshopper-core-nodejs,grasshopper-cms/grasshopper-core-nodejs,grasshopper-cms/grasshopper-core-nodejs,mjmostachetti/grasshopper-core-nodejs,Solid-Interactive/grasshopper-core-nodejs