R: repair package building, git cannot have empty directories in the repo, so create them before building the package.