$context doesn't need to be returned here. Also, because you have `$context['to_install']['id'] = theme_install($context['to_install']);` elsewhere, the "return" here will cause $context['to_install']['id'] to contain a copy of the parent array, which could cause all sorts of problems.