Check for existing session in swid inventory view

Show an error message when viewing the inventory view for a device that
has no sessions.

Fixes tnc-ba/strongTNC#158.