Problem/Motivation
Follow up to #2765297: Return translated term name on views "Content: Has taxonomy term ID (with depth)" which seems to have caused a regression where in certain situations the token replacement now returns no term label.
This might be caused when getTranslationFromContext return NULL, which according to the Interface docblock it can do, but looking at the implementation in \Drupal\Core\Entity\EntityRepository::getTranslationFromContext this will never happen.
Steps to reproduce
Navigate to a Taxonomy Term page in English and the term title is displayed.
Then navigate to the same Term page translated to another language and the term title is not displayed.