shell: Only show the "Extended Partition" choice when it makes sense

Fixes #1305
Reviewed-by: Stef Walter <stefw@redhat.com>
test: Test extended partitions again

But in a carefully limited way.

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