Remove os.path.relpath
in resolve_patterns
#6815
Merged
os.path.relpath
in resolve_patterns
#6815