Warn if an invalid URL is passed with --index-url