Fixed check for installations which does not have page part template content type