Changed WebDirectoryRepository.DirectoryExists to allow empty directory.