Add missing trailing slash for correct rsync operation, and delete existing (empty) media directory.