Check so Papi exists before trying to register the page types directory
Merge pull request #1 from frozzare/master

Check so Papi exists before trying to register the page types directory