Fixed an error in the profile_name format validation.