Fix silly crash when creating a folder.
Fix silly crash when creating a folder.

kolab/issue3777

svn path=/branches/kdepim/enterprise/kdepim/; revision=1004535

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