Fix snapshot name parsing for remote backups