Remove git directories before incremental caching

Need a newline here :smile: