Fix guessing of model from hostname