fixes: #9006 Only cleans the hostname if the system is using the default Replace Spaces with _ Remove any other non word characters
fixes: #9006 Only cleans the hostname if the system is using the default Replace Spaces with _ Remove any other non word characters