Improve URL validation for site import.