Fix device info page, when model is empty - error 500

The device info view generate server error 500, when model is empty.