Fix crash with invalid reference, causing an invalid data handle to be used.
Fix crash with invalid reference, causing an invalid data handle to be used.

sonictk/HoudiniEngineForMaya,sonictk/HoudiniEngineForMaya,sonictk/HoudiniEngineForMaya