build may wrongly reports missing nls bundle, fixes #17167

(cherry picked from commit 10453f663e860f70389d054688c5c06b9ca22902)