CB-5390 Uninstall - change order of popping top level plugin id to satisfy tests