Let get_last_url() catch https URLs as well.