throw error on trailing slashes in GitHub paths
Merge pull request #448 from krlmlr/github-trailing-slash

throw error on trailing slashes in GitHub paths