Refs #1636 - Get version information from NOTES

If `scripts/gen-version.sh` comes up blank (perhaps due to
a shallow clone) then get the version information from NOTES

Sending 2nd time with no debug code in it.