[JENKINS-48365] Install detached plugins when upgrading Jenkins past the version the plugins were detached