Fix for 10.12 createinstallmedia "not a valid volume mount point" error
The createinstallmedia command is broken in the currently available (as of May 2022) version of macOS 10.12 and following Apple's own guidance on creating USB installation media will result in the error "not a valid volume mount point".
Here's how to fix it in Terminal.
sudo plutil -replace CFBundleShortVersionString -string "12.6.03" /Applications/Install\ macOS\ Sierra.app/Contents/Info.plist
The command
sudo /Applications/Install\ macOS\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ macOS\ Sierra.app
will now work correctly.