chore(version-info): previousVersions should not return `undefined`

Closes #6702