The if/else statement that defines GetLocalizationTargetByName has the same code in both the if portion and else portion. This means that the same code is executed regardless of the evaluation of the "if()" statement.
The first if and corresponding else contain the same set of code.
Code in the else statement refers to GameTargetSet rather than EngineTargetSet
Head over to the existing Questions & Answers thread and let us know what's up.