TMDM-7800: fix NPE when logon project, which lead to delete datamodel/datacontainer with parent folder can not be restored.