fixes #2852 - Failing tests Unrecognised option '--name'
Merge pull request #3 from mbacovsky/2852-foreman_api-update

fixes #2852 - Failing tests Unrecognised option '--name'