[ci-skip] Remove unnecessary check in instance.set