Make sure all children is deleted first in ramlRepository.removeDirectory