Fixed creation of mirror directory