shell: Don't call legacy_page.setup when it is not defined.

Not all legacy pages have this, such as the big ugly graphs.