Refactor CLI factories

Refactor factories to reduce duplicated code regarding merging the
default options with provided options.

Factories now returns the data returned by the CLI object create method
instead of updating the already provided options. This avoid false
positives for options that have been provided but are not listed by the
info output.

Also, update content host factory
Dropped the options update due to the following:

When creating a repository it can receive a `--checksum-type` option, but the info output does not shows its value after creation. So by updating the dictionary will generate a false positive as the `checksum-type` key will be present but the info doesn't return its value.