mmfunctions: let _getfilesystem work with directories too
ingestfile: fixes to conditional tests