Fix matching for volume paths in cp

Fixes #9787
Nice comments we have here. Yeah, probably make sense to add for binds too. Tests are cool.