ignore permalinkThemes if some layer groups are set 

fix https://github.com/camptocamp/cgxp/issues/814
ignore permalinkThemes if some layer groups are set so not all group of the theme are reloaded automatically