I think this should be `$userfile = $input->files->get('install_package', null, 'array');` given the last value in the JRequest call.