On a second thought, I don't think this is correct. Imagine this case:

* The profile specifies some garbage filesystem.
* This states there is no filesystem in the block device.
* If there was a previous installation with a filesystem, KABOOM, your data is gone.

I think the only change that makes sense here is the extension of the regular expression.