Fix git clean/dirty status