do not display empty table of contents

For matuc toc and matuc master (as well as for the submodule MAGSBS.master), do
not create / show empty table of contents.