A better condition would probably checking for matching `://`, to distinguish URLs from aliases. I would not remove the check, though, because that would force the user to always use an alias.