[BUGFIX] RequireOnceInExtensions only matches requires/includes with brackets

Resolves: #58710