Error: Invalid datastore path mounting Content Library ISO in vsphere-iso

I am attempting to build a VM using an ISO from vSphere Content Library. Getting Invalid datastore path error.

I’m referencing Looking for explanation on how to use `iso_paths` in combination with a Content Library for guidance to no avail.

vSphere Client version 7.0.1.00200
Packer v 1.5.5 (FWIW I’ve attempted this on Packer v 1.7.4 as well)

Content Library name: ISO Files
Content Library info where ISO is stored:

govc library.info "/ISO Files/"
Name:           rhel-8.4-x86_64-dvd
  ID:           [ ID omitted ]
  Path:         /ISO Files/rhel-8.4-x86_64-dvd
  Description:
  Type:         iso
  Size:         9.4GB
  Created:      Thu Aug 12 16:57:19 2021
  Modified:     Thu Aug 12 17:04:40 2021
  Version:      1

Datastore used by Content Library

govc datastore.info dc-nfs-vol01
Name:        datastore-nfs-vol01
  Path:      /DC/datastore/datastore-nfs-vol01
  Type:      NFS
  URL:       ds:///vmfs/volumes/[ID omitted]/
  Capacity:  [omitted] GB
  Free:      [omitted] GB
  Remote:    dc-nfs.omitted.com:/ifs/dc/nfs/vmware

The below path doesn’t work

"iso_paths": [
      "/ISO Files/rhel-8.4-x86_64-dvd"
],

But if I use the full path with datastore generated by the content library it works but doesn’t seem practical:

"iso_paths": [
      "[datastore-nfs-vol01] contentlib-[id generated]/[content library folder generated id]/rhel-8.4-x86_64-dvd_[content library generated id].iso"
],

Build Logs (edited for privacy):

2021/08/20 10:38:19 [INFO] Packer version: 1.5.5 [go1.13.7 linux amd64]
2021/08/20 10:38:19 Checking 'PACKER_CONFIG' for a config file path
2021/08/20 10:38:19 'PACKER_CONFIG' not set; checking the default config file path
2021/08/20 10:38:19 Setting cache directory: [ omitted ]
2021/08/20 10:38:19 Creating plugin client for path: /usr/local/bin/packer
2021/08/20 10:38:19 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-builder-vsphere-iso"}
2021/08/20 10:38:19 Waiting for RPC address for: /usr/local/bin/packer
2021/08/20 10:38:19 packer-builder-vsphere-iso plugin: [INFO] Packer version: 1.5.5 [go1.13.7 linux amd64]
2021/08/20 10:38:19 packer-builder-vsphere-iso plugin: Checking 'PACKER_CONFIG' for a config file path
2021/08/20 10:38:19 packer-builder-vsphere-iso plugin: 'PACKER_CONFIG' not set; checking the default config file path
2021/08/20 10:38:19 packer-builder-vsphere-iso plugin: Attempting to open config file: 
2021/08/20 10:38:19 packer-builder-vsphere-iso plugin: [WARN] Config file doesn't exist: 
2021/08/20 10:38:19 packer-builder-vsphere-iso plugin: Setting cache directory: 
2021/08/20 10:38:19 packer-builder-vsphere-iso plugin: args: []string{"packer-builder-vsphere-iso"}
2021/08/20 10:38:19 Received unix RPC address for /usr/local/bin/packer: addr is 
2021/08/20 10:38:19 packer-builder-vsphere-iso plugin: Plugin address: unix /tmp/packer-
2021/08/20 10:38:19 packer-builder-vsphere-iso plugin: Waiting for connection...
2021/08/20 10:38:19 packer-builder-vsphere-iso plugin: Serving a plugin connection...
2021/08/20 10:38:19 Creating plugin client for path: /usr/local/bin/packer
2021/08/20 10:38:19 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-provisioner-ansible"}
2021/08/20 10:38:19 Waiting for RPC address for: /usr/local/bin/packer
2021/08/20 10:38:19 packer-provisioner-ansible plugin: [INFO] Packer version: 1.5.5 [go1.13.7 linux amd64]
2021/08/20 10:38:19 packer-provisioner-ansible plugin: Checking 'PACKER_CONFIG' for a config file path
2021/08/20 10:38:19 packer-provisioner-ansible plugin: 'PACKER_CONFIG' not set; checking the default config file path
2021/08/20 10:38:19 packer-provisioner-ansible plugin: Attempting to open config file: 
2021/08/20 10:38:19 packer-provisioner-ansible plugin: [WARN] Config file doesn't exist: 
2021/08/20 10:38:19 packer-provisioner-ansible plugin: Setting cache directory: 
2021/08/20 10:38:19 packer-provisioner-ansible plugin: args: []string{"packer-provisioner-ansible"}
2021/08/20 10:38:19 packer-provisioner-ansible plugin: Plugin address: unix /tmp/packer-
2021/08/20 10:38:19 packer-provisioner-ansible plugin: Waiting for connection...
2021/08/20 10:38:19 Received unix RPC address for /usr/local/bin/packer: addr is 
2021/08/20 10:38:19 packer-provisioner-ansible plugin: Serving a plugin connection...
2021/08/20 10:38:19 Creating plugin client for path: /usr/local/bin/packer
2021/08/20 10:38:19 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-provisioner-shell"}
2021/08/20 10:38:19 Waiting for RPC address for: /usr/local/bin/packer
2021/08/20 10:38:19 packer-provisioner-shell plugin: [INFO] Packer version: 1.5.5 [go1.13.7 linux amd64]
2021/08/20 10:38:19 packer-provisioner-shell plugin: Checking 'PACKER_CONFIG' for a config file path
2021/08/20 10:38:19 packer-provisioner-shell plugin: 'PACKER_CONFIG' not set; checking the default config file path
2021/08/20 10:38:19 packer-provisioner-shell plugin: Attempting to open config file: 
2021/08/20 10:38:19 packer-provisioner-shell plugin: [WARN] Config file doesn't exist: 
2021/08/20 10:38:19 packer-provisioner-shell plugin: Setting cache directory: 
2021/08/20 10:38:19 packer-provisioner-shell plugin: args: []string{"packer-provisioner-shell"}
2021/08/20 10:38:19 Received unix RPC address for /usr/local/bin/packer: addr is 
2021/08/20 10:38:19 packer-provisioner-shell plugin: Plugin address: unix /tmp/packer-
2021/08/20 10:38:19 packer-provisioner-shell plugin: Waiting for connection...
2021/08/20 10:38:19 packer-provisioner-shell plugin: Serving a plugin connection...
2021/08/20 10:38:19 Creating plugin client for path: /usr/local/bin/packer
2021/08/20 10:38:19 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-post-processor-shell-local"}
2021/08/20 10:38:19 Waiting for RPC address for: /usr/local/bin/packer
2021/08/20 10:38:19 packer-post-processor-shell-local plugin: [INFO] Packer version: 1.5.5 [go1.13.7 linux amd64]
2021/08/20 10:38:19 packer-post-processor-shell-local plugin: Checking 'PACKER_CONFIG' for a config file path
2021/08/20 10:38:19 packer-post-processor-shell-local plugin: 'PACKER_CONFIG' not set; checking the default config file path
2021/08/20 10:38:19 packer-post-processor-shell-local plugin: Attempting to open config file: 
2021/08/20 10:38:19 packer-post-processor-shell-local plugin: [WARN] Config file doesn't exist: 
2021/08/20 10:38:19 packer-post-processor-shell-local plugin: Setting cache directory: 
2021/08/20 10:38:19 packer-post-processor-shell-local plugin: args: []string{"packer-post-processor-shell-local"}
2021/08/20 10:38:19 Received unix RPC address for /usr/local/bin/packer: addr is 
2021/08/20 10:38:19 packer-post-processor-shell-local plugin: Plugin address: unix 
2021/08/20 10:38:19 packer-post-processor-shell-local plugin: Waiting for connection...
2021/08/20 10:38:19 packer-post-processor-shell-local plugin: Serving a plugin connection...
vsphere-iso: output will be in this color.

2021/08/20 10:38:19 Build debug mode: false
2021/08/20 10:38:19 Force build: true
2021/08/20 10:38:19 On error:
2021/08/20 10:38:19 Preparing build: vsphere-iso
2021/08/20 10:38:22 packer-provisioner-ansible plugin: ansible-playbook version: 2.10.8
2021/08/20 10:38:22 Waiting on builds to complete...
2021/08/20 10:38:22 Starting build run: vsphere-iso
2021/08/20 10:38:22 Running builder: vsphere-iso
2021/08/20 10:38:22 [INFO] (telemetry) Starting builder vsphere-iso
==> vsphere-iso: Creating VM...
==> vsphere-iso: Customizing hardware...
==> vsphere-iso: Mounting ISO images...
2021/08/20 10:38:23 packer-builder-vsphere-iso plugin: Creating CD-ROM on controller '&{{{} 200 0xc000706ec0 <nil> <nil> <nil> 0 <nil>} 0 []}' with iso '/ISO Files/rhel-8.4-x86_64-dvd'
==> vsphere-iso: Destroying VM...
2021/08/20 10:38:23 [INFO] (telemetry) ending vsphere-iso
2021/08/20 10:38:23 machine readable: error-count []string{"1"}
==> Some builds didn't complete successfully and had errors:
2021/08/20 10:38:23 machine readable: vsphere-iso,error []string{"error mounting an image '/ISO Files/rhel-8.4-x86_64-dvd': Invalid datastore path '/ISO Files/rhel-8.4-x86_64-dvd'."}
==> Builds finished but no artifacts were created.
Build 'vsphere-iso' errored: error mounting an image '/ISO Files/rhel-8.4-x86_64-dvd': Invalid datastore path '/ISO Files/rhel-8.4-x86_64-dvd'.

==> Some builds didn't complete successfully and had errors:
--> vsphere-iso: error mounting an image '/ISO Files/rhel-8.4-x86_64-dvd': Invalid datastore path '/ISO Files/rhel-8.4-x86_64-dvd'.

==> Builds finished but no artifacts were created.
2021/08/20 10:38:23 [INFO] (telemetry) Finalizing.
2021/08/20 10:38:25 [WARN] (telemetry) Error finalizing report. This is safe to ignore. Post https://checkpoint-api.hashicorp.com/v1/telemetry/packer: context deadline exceeded
2021/08/20 10:38:25 waiting for all plugin processes to complete...
2021/08/20 10:38:25 /usr/local/bin/packer: plugin process exited
2021/08/20 10:38:25 /usr/local/bin/packer: plugin process exited
2021/08/20 10:38:25 /usr/local/bin/packer: plugin process exited
2021/08/20 10:38:25 /usr/local/bin/packer: plugin process exited

Did you ever figure out a resolution? I am having exactly the same issue.