Fixed iterate action in OsdController.

If a user selected to delete objects without having selected a target folder (which is not needed for delete anyway, only for move / copy actions), the method would throw an exception.

Fixes #39