backends: refactor netresolve_backend_add_path a bit
backends: refactor netresolve_backend_add_path a bit

andyvand/cygnetresolve,crossdistro/netresolve,pavlix/netresolve,pavlix/netresolve,pavlix/netresolve,crossdistro/netresolve,crossdistro/netresolve,andyvand/cygnetresolve,andyvand/cygnetresolve