Fix the error page if an exception is called before the constants are loaded
Ignore composer phar and lock