Adapt rewrite rule to add trailing slash for prerelease package. fixes #5