Update cms/utils/page_resolver.py

see issue #1573