[backport-1.4]: Let tools/generate_units_documentation.py recognize Vault version
A solution for issue
#2738 (closed)
needs to be backported to 1.4.x