[BUGFIX] RequireOnceInExtensions only matches requires/includes with bra...

...ckets

Resolves: #58710