Ensure that pygscan produces absolute paths for source files and fix related issues