Port over edgecase handling from https://github.com/cpburnz/python-path-specification/pull/8
Port over edgecase handling from https://github.com/cpburnz/python-path-specification/pull/8

highb/pathspec-ruby,highb/pathspec-ruby