Remove bug that never happened

The yaml test breakage did not occur in any released version of ruby so
it gets no history entry.  Reverts part of @5265226