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

The issue was originating in apipie gem. New version of foreman_api regenerated with fixed apipie solves the problem.