Fix external URL handling so that going back to Sloop works.