PointGroupsUtility: provide a better error message for getResource