snufflings: fixed a problem with import of directory snufflings

additionally protect against bad Snuffling filenames, i.e. names of
already import modules