tests: relax matching in test bad local path

In TravisCI, IPv6 is preferred over IPv4 so remove any direct
matching of 127.0.0.1.

Signed-off-by: Raul Gutierrez S <rgs@itevenworks.net>