This is not needed. The `formatfs` part already checks if there is a file system (it calls `has_filesystem` before formatting anything.