adapted to current CommonsEnsureBundle version