Fix for untracked_files no longer detected #138

Porting the change to the master branch