Fix in image convert task to prevent spawning with multiple directories