BS-7115 : [6.1.2] IdentityAPI getGroupByPath generate a SGroupNotFoundException

- Fix SQL Script