Preferring locally hosted and GitHub URLs.