detect.py: Fixing typo while detecting network driver name

Commit e09080acd818d8fc6c64b71c22c2d21fd25006d9 introduced some wrong
code about the network driver matching.

A typo prevented the system from working.