Fixes installing a theme

This fixes the problem when trying to install a new theme.
@WouterSioen Should we change 'core' to 'Core'?