When following redirections update url.extern

Resolves #514. We now treat a URL redirect externally as external and don't recurse.