What? Why? I think this block should be:

```ruby
self.metadata.merge!({
  "sshKeys" => "#{username}:#{File.read(public_key_path).strip}"
}) if public_key_path
```

But maybe I misunderstand...