Issue #3069925 by Lendude, Kova101, kndr, Krzysztof Domański: When...
Issue #3069925 by Lendude, Kova101, kndr, Krzysztof Domański: When target_bundles is not set it produces a PHP notice and causes unexpected error
(cherry picked from commit 0f0ebbec)