--- coder_upgrade.module.orig	2010-12-12 03:16:28.000000000 +0100
+++ coder_upgrade.module	2010-12-12 03:17:10.000000000 +0100
@@ -731,7 +731,7 @@ function coder_upgrade_module_list($core
 
   // Faster to query DB than to rescan files using _system_get_module_data().
   $sql = "SELECT name, filename, type, status, info,
-          REPLACE(filename, CONCAT('/', name, '.', type), '') AS directory
+          REPLACE(filename, CONCAT(CONCAT('/', name), CONCAT('.', type)), '') AS directory
           FROM {system}
           WHERE type = 'module'
           AND filename $like 'modules/%'
