Not sure I understand why this happens. `bin.latest` suggests it'll get the latest bin, but why is revision set to `1`? (it feels like it should be setting `revision = result.revision + 1` - but I'm not sure).