pkg-export-helm: Avoid useless cloning
pkg-export-helm: Avoid useless cloning

We don't need to take any values from inside the Option, we only need
to know if the option has any value in it. So just use as_ref() which
creates a new Option with a reference value, so it is not copied
unnecessarily.

Signed-off-by: Krzesimir Nowak <049588669667d6bb20b978e17fc57ff3556ea5dd@kinvolk.io>

rsertelon/habitat,habitat-sh/habitat,habitat-sh/habitat,rsertelon/habitat,habitat-sh/habitat,habitat-sh/habitat,habitat-sh/habitat,habitat-sh/habitat,rsertelon/habitat,rsertelon/habitat,habitat-sh/habitat,rsertelon/habitat,rsertelon/habitat,rsertelon/habitat,habitat-sh/habitat