netdetect: Quality pass

Let's use flake to remove many stylish issues.