only use 'show' for hidden modules

This is an enhancement to #1009, based on the remark made by @rtmclay after the PR was already merged in (see https://github.com/hpcugent/easybuild-framework/pull/1009/files#r16508362).