Index: common.inc
===================================================================
--- common.inc	(revision 2)
+++ common.inc	(working copy)
@@ -1836,7 +1836,7 @@
   $files = array();
 
   // Always search sites/all/* as well as the global directories
-  $searchdir[] = 'sites/all';
+  $searchdir[] = 'sites/all/'.$directory;
 
   // The 'profiles' directory contains pristine collections of modules and
   // themes as organized by a distribution.  It is pristine in the same way