Add check for empty directory in backup_lv