.src(): Check whether the given glob is valid. Otherwise, throw a proper error.