reproducer for issue #18, targetPrefix doesn't work when path contains no slash
Force prefix & targetPrefix to end with slash
Merge branch 'ppitonak-18_targetPrefix'

* ppitonak-18_targetPrefix:
  Force prefix & targetPrefix to end with slash
  reproducer for issue #18, targetPrefix doesn't work when path contains no slash

Fixes #18