The issue seems to have been introduced by 2129d184a206c whentransactionState->priorContext was added and is only present in HEAD.