zeta: Small refactoring in license detection check - rfind instead of iterated ends_with (#37329)

Release Notes:

- N/A
c01f12b15dMichael Sloan committed on 9/2/2025, 5:23:35 PM· committed by GitHubparentdfa066d
1 file changedLine totals unavailable