Installation failed: “Bad main script file”

Based on this, I tried setting the option to create a new efi and that failed with the same error as well. https://termbin.com/3bla