reproducer for issue #18, targetPrefix doesn't work when path contains n...

...o slash