[mjolnir] Handle NoSuchElementException on the tape