Exit program if incorrect URL is given