handle case where there is no package group in ckan