Fix Dwarf path handling to fix broken test