Allow PATCH /environment/:id to populate an empty file