fix(api): add guard condition against no services
fix(api): add guard condition against no services

    - this will avoid a RTE if a configuration does not have any services defined
    - a non existing service results in a `null` value

stephanebachelier/superapi,stephanebachelier/superapi