This does not work with Gigabyte Designare Z390 with Mojave 10.14.6, unless setting ram to 2666 MHz and below, but then the problem takes care of itself, rendering the script or Jettison unnecessary.
With over 2666 MHz memory, the USB disks will eject and the error is gone, but the part that...