only remove shinyapps dir if it's completely empty