I know and this should not happen. This is mostly to keep BC as much as possible (it happens in the case of CLI scripts in Symfony context only)