[Debug] enhance non-PSR-0 compatibility for case mismatch test

Fix the issue reported in comment:
https://github.com/symfony/symfony/commit/6de362b9fb3a7b3eb7a1d87eb50cc9b010162fff#src-symfony-component-debug-debugclassloader-php-P162