Fixed the section about getting services from a command

| Q             | A
| ------------- | ---
| Doc fix?      | no
| New docs?     | yes
| Applies to    | 2.3+
| Fixed tickets | #890

Hopefully this PR fixes one of the oldest errors of the Symfony documentation.