Querying cached service returns false in case of exception

If querying currently cached service e.g. using is_netconfig returns
false when service detection fails. If an exception is raised it is
catched.
Updated network_service_test testsuite
Merge pull request #173 from mchf/master

Fix for failed tests.