If you have the media folder in question listed as a separate folder in settings/media folders you can disable that folder.
This will stop SS listing the contents (or lack of

) of it and any sub-directories.
Just re-enable again when there is content again.
Unfortunately there is no way, that I know, of getting SS to do this automatically.
