Fixing river error on empty folder.