get_netrc_auth: code cleanup

* Stop iterating as soon as we find a netrc file
* More obvious return None