migration: Fix !replay_can_snapshot() error handling