references - https://forum.unity.com/threads/solved-removing-packages-in-an-editor-script.697061/#post-4669562