Prevent seg fault if the fs type-to-name map is incorrect.

...es is incorrect and log an error if such a case happens.