Remove deprecated form
(cherry picked from commit e9e712519666cd3635a805e736c5b6d6d59ece2b)
Change path before download the plugin
(cherry picked from commit f6d37bd230892f3573c9adce58aa753027222298)
Delete jail if the plugin install fails
(cherry picked from commit e4a098744d4fdc506890dc20636c7e1f2161a29a)