Warning: Invalid argument supplied for foreach() on $recordsInOriginalLanguage
During import I did run into some warnings on running foreach loops on variable $recordsInOriginalLanguage in L10nBaseService while the variable not being an array.
[BUGFIX] add check for type of variable
variable is not always of type array which produces a warning when
stuffed into foreach