bug fix to 2.2.1: handles case of model repository creation with no
associated model, therefore no underlying eobject (npe)