fix(): fix npe introduced in 4939424a30 (#281)

fixes #298
fix(): avoid calls with empty translationId (sub issue of #298)
Merge pull request #299 from knalli/bugfix/trim-fix

fix(): fix npe introduced in 4939424a30 (#281)