Dirty files fix for git