Index: /trunk/FACT++/src/Configuration.cc
===================================================================
--- /trunk/FACT++/src/Configuration.cc	(revision 11422)
+++ /trunk/FACT++/src/Configuration.cc	(revision 11423)
@@ -1236,12 +1236,20 @@
     string fname = path.filename();
 
+    // If the filename starts with "lt-" remove it from the name
     if (fname.substr(0, 3)=="lt-")
         fname = fname.substr(3);
 
-    if (pname.empty() || pname==".libs")
+    // If no directory is contained determine the current directory
+    if (pname.empty())
+        pname = boost::filesystem::current_path().string();
+
+    // If the directory is relative and just ".libs" forget about it
+    if (pname==".libs")
         return fname;
 
+    // Check if the directory is long enough to contain "/.libs"
     if (pname.length()>=6)
     {
+        // If the directory ends with "/.libs", remove it
         const size_t pos = pname.length()-6;
         if (pname.substr(pos)=="/.libs")
