[PAXCDI-92] Do not scan required bundles unless they are bean bundles or extensions