RELOAD-192 Fix if the parent directory of the last workspace is removed and the server restarts then the server crashes
RELOAD-192 Checked test cases and fixed crash in test case 4 for when removing the parent directory of current workspace path.