I think we should validate the name is not blank/null rather than doing this. There's no reason to support unnamed profiles.