add null-pointer check on return of getPageList
Merge pull request #26 from cedricje/master

add null-pointer check on return of getPageList