Fix EZP-22974: When I create a new Image I get Error: eZDir::recursiveDelete
Merge pull request #1030 from pedroresende/EZP-22974

Fix EZP-22974: When I create a new Image I get Error: eZDir::recursiveDelete