Check if scope applies to type before given path (#7263)
Check if scope applies to type before given path (#7263)

Merge pull request 7263
chrisfinazzo/jekyll,x-way/jekyll,fulldecent/jekyll,jekyll/jekyll,Strangehill/jekyll,tillgrallert/jekyll,jaybe-jekyll/jekyll,tillgrallert/jekyll,jekyll/jekyll,x-way/jekyll,ryanshaw/jekyll,x-way/jekyll,yhironaka/yhironaka.github.io,tillgrallert/jekyll,fulldecent/jekyll,ryanshaw/jekyll,jaybe-jekyll/jekyll,chrisfinazzo/jekyll,fulldecent/jekyll,fulldecent/jekyll,jekyll/jekyll,Strangehill/jekyll,chrisfinazzo/jekyll,ryanshaw/jekyll,Strangehill/jekyll,chrisfinazzo/jekyll,jaybe-jekyll/jekyll,Strangehill/jekyll,x-way/jekyll,tillgrallert/jekyll,jaybe-jekyll/jekyll,Strangehill/jekyll,tillgrallert/jekyll,ryanshaw/jekyll,jekyll/jekyll