prevent fatal errors when symfony is not booted.