Fixes undefined DOTDIR error in wdeploy