Issue #2707217 by jlockhart, jstoller, Nicolas Bouteille: Non Object notice when there is no bundle to check