apply: use the right attribute for paths in non-Git patches