Handle case where `page_instance` has no context