added a directory test to the deploy script before removing cached assets
added a directory test to the deploy script before removing cached assets

documentcloud/documentcloud,documentcloud/documentcloud,roberttdev/dactyl4,dannguyen/documentcloud,ivarvong/documentcloud,gunjanmodi/documentcloud,gunjanmodi/documentcloud,dannguyen/documentcloud,moodpo/documentcloud,gunjanmodi/documentcloud,roberttdev/dactyl,monofox/documentcloud,moodpo/documentcloud,Teino1978-Corp/Teino1978-Corp-documentcloud,Teino1978-Corp/Teino1978-Corp-documentcloud,moodpo/documentcloud,roberttdev/dactyl,ivarvong/documentcloud,monofox/documentcloud,Teino1978-Corp/Teino1978-Corp-documentcloud,monofox/documentcloud,monofox/documentcloud,dannguyen/documentcloud,roberttdev/dactyl4,documentcloud/documentcloud,Teino1978-Corp/Teino1978-Corp-documentcloud,roberttdev/dactyl,moodpo/documentcloud,gunjanmodi/documentcloud,ivarvong/documentcloud,documentcloud/documentcloud,roberttdev/dactyl4,dannguyen/documentcloud,roberttdev/dactyl4,ivarvong/documentcloud