HomeSoftware Heritage

Make revision_add and release_add validate their input.