Optionally allow a cwd for get_distribution_version_string See https://github.com/matrix-org/matrix-python-common/pull/25