gh-4 allow for both slash and back-slash as a path separator in converting a path to a package