Cause: A new Host is added to IPA server without proper validation
Consequence: A Host with invalid hostname may be created. For example a hostname containing a white-space character
Fix: Always check if the new Host has a valid hostname and return an error otherwise
Result: Only Hosts with valid hostnames may be added.