[Fix] Always make sure the directory get event is set to avoid loops in threaded CDirectory::GetDirectory()

Sending a PR cuz im not sure about the catch-all or if specific exceptions should be handled.