#24981 [Minor] Added better error message for @include reference case.