Fix access violation when directory name is not given

Instead now displays it as "Unknown"
Merge pull request #777 from tambry/contentErrorDialogFix

Fix access violation when directory name is not given