plainbox:device: fix _discover_windows()

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>