Remove bug in directory management.
Remove bug in directory management.

Tiross/atoum,gpaton/atoum,mageekguy/atoum,mikaelrandy/atoum,mageekguy/atoum,GuillaumeDievart/atoum,tejerka/atoum,agallou/atoum,vonglasow/atoum,CedCannes/atoum,Tiross/atoum,vonglasow/atoum,agallou/atoum,gpaton/atoum,tejerka/atoum,GuillaumeDievart/atoum,jubianchi/atoum,jubianchi/atoum,mikaelrandy/atoum,CedCannes/atoum