Fix check for github username in netrc file