Fix device info page, when model is empty.
Merge pull request #1210 from quamilek/fix-device-info-view

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