Test ignored patterns again relative paths

`.gitignore` patterns are meant to be matched against repository relative paths.

This PR changes that, but it also changes `.nakignore` patterns and command line exclusions to do the same which I'm not sure if you want or not, but it seems natural to me.