Fix assertion on umockdev_testbed_uevent() if there are no listeners

Fix the glob() error handling. The error code isn't in errno, but in the
returned value itself.

https://github.com/martinpitt/umockdev/issues/29