Failed to determine /dev/nvme0n1 partition number

When deploying to a machine using MAAS, the installation of Ubuntu 18/20 LTS to the machine fails and does not install the OS.

MAAS version: 2.8.0~rc5 (8551-g.d0d4cdf79)
Storage Drive: WD BLUE SN550 (NVMe SSD)

Installation Output Log

Command: [‘sh’, ‘-c’, ‘exec “$0” “$@” 2>&1’, ‘install-grub’, ‘–uefi’, ‘–update-nvram’, ‘–os-family=debian’, ‘/tmp/tmpyq0ppl8p/target’, ‘/dev/nvme0n1’]
Exit code: 1
Reason: -
Stdout: grubdevs: [/dev/nvme0n1]
/proc/mounts shows /dev/nvme0n1p1 is mounted at /tmp/tmpyq0ppl8p/target
moved etc/default/grub.d/50-cloudimg-settings.cfg out of the way
carryover command line params ‘’
setting GRUB_CMDLINE_LINUX_DEFAULT to ‘’ in etc/default/grub
updated /tmp/tmpyq0ppl8p/target/etc/default/grub to set GRUB_CMDLINE_LINUX_DEFAULT=""
processing grubdevs values for expansion if needed
Found dev [/dev/nvme0n1] add to grubdevs_new
updated grubdevs: [/dev/nvme0n1]
number of entries in grubdevs_new: 1
Found a single entry in grubdevs, /dev/nvme0n1
cat: /sys/class/block/nvme0n1/partition: No such file or directory
Failed to determine /dev/nvme0n1 partition number

    Stderr: ''

Stderr: ‘’

I noticed this in the Test tab. The test was “Skipped”
INFO: Veriying SMART support for the following drive: /dev/nvme0n1
INFO: Running command: sudo -n smartctl --all /dev/nvme0n1
INFO: Unable to run test. The following drive does not support SMART: /dev/nvme0n1