Fix inclusion of history in package metadata