(graphiti) Fix NPE when changing Port or Instance name from properties