network: report hotspot is running only if device is active

https://bugzilla.gnome.org/show_bug.cgi?id=723643
network: Fix build

Last patch refers to nm_device instead of the actual variable device.

https://bugzilla.gnome.org/show_bug.cgi?id=723643