SYSML-38 Exception on Parametric Diagram

Fix a potential NPE (but not sure it's the right one)