Prevent calling then() on undefined for getTranslationTable() method.

`then()` is called on undefined when attempting to translate a non-existing key.