Fix to set allowed_attributes='macros' for main_template-view only when BBB profile is installed