[fix] Make sure that the dist/version is in the versions object