More fixes to paths and debug statements

Signed-off-by: Philippe Ombredanne <pom@nexb.com>