Prevent possible crash on folder creation.
Prevent possible crash on folder creation.

svn path=/trunk/kdenetwork/kmail/; revision=108481

lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi