[Console] Minor perf improvement

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

It's useless to set the command application if a command is not enabled
I am not entirely sure, what happens before in the process, but it seems, that if you don't set the application before, your don't need to unset it afterwards. Imo this line is now useless.