Fix path checks to work regardless of where the test is run from
Make versions and range like specifiers never match local files or dirs when a name is included