Accessed the web.Url property after ExecuteQuery so that it does not throw an exception.