m4: Fix network search

Change-Id: I8cb6a7c8ffd13a5564e60afbefe0b0a81caa1466