Asking depth for scanning bundles from src folder

Depth is set to 1 by default. If the project bundle is inside more than two folders (namespace), it cannot find the that bundle.
Ex.
src/
 Com/
  Acme/
   DemoBundle/
    ComAcmeDemoBundle.php

Only "ComAcme" is returned but it does not exists so an exception is thrown.