preserve slashes for repo and path hack