LPS-34009 Obtain correct groupId when portlet scoped to Global