break
 
                     # if the string ends with / it's a directory, and if the
-                    # path does not start with the directory, then it's not
-                    # included
+                    # path is contained in it, it is included
                     if i.endswith('/') and path.startswith(i):
                         match = MATCH
                         break
                     self.logger.debug("restore %s" % ipath['path'])
                     helper.restore(ipath, l_no, restore_callback)
                 except Exception as e:
-                    self.logger.error("FAILED to restore: " + ipath.get('path', ''))
+                    self.logger.error("FAILED to restore: {} ({})"
+                                      .format(path.get('path', ''), e))
                 continue
 
             # if both files are equal, we have nothing to restore