Select the theme manually at Settings > Deployment > Theme and press save.
A problem I have had was to replace the theme in the theme-folder by a theme with the same name. That did not work. I had to deploy without a selected theme and then select it again and deploy it for a second time.