Import of images does not create correct directory structure if last character of image vault is not file separator