Correctly construct the version directory with new version format