Messy working tree parsing
Parsing works but probably only with ruby 2.0.0