fix NPE in PageTypeService getPageTypeConfig