WICKET-5291: respect order of dependencies for bundles