vendor: allow ~ in import path
vendor: allow ~ in import path

~ is an allowed character in the import path, and it's used in the wild for user repositories
mopemope/gb,constabulary/gb,constabulary/gb,hyper-carrot/gb,constabulary/gb,mopemope/gb,hyper-carrot/gb,mopemope/gb