Prevent seg fault that can happen if the map of file system names-to-types is incorrect and log an error if such a case happens.