Fixed bug where the delete empty directories functionality would delete a
folder that had been listed in the 'skip' option.