Read current distribution and force when generating changelog
Move parsing to top-level function
Merge pull request #27 from jenkinsci/preserve-distribution

Read current distribution and force it used when generating changelog.
Fixes #26