container.directory: Fixed :scout -tf, fixes #195

This was a regression from f9b4e8c0a31d38fb48ee0e61e17a9534f00fdd82
container.directory: more efficient filtering