Merge pull request #362 from shurcooL/IsValidRemotePath-domain

gosrc: Accept domain.root in IsValidRemotePath.