lua-factory: Fix incorrect check creating GrlNetWc

Spotted by Victor Toso

https://bugzilla.gnome.org/show_bug.cgi?id=728525#c6