Swallow bundler exceptions when running tests

Let's avoid useless output when testing stuff related to Bundler.
Merge pull request #14881 from robin850/patch-19

Swallow bundler exceptions when running tests