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

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

Closes #1416
Reviewed-by: Stef Walter <stefw@redhat.com>