Force git caching to preserve nginx log dir.

This is a short term fix to an error where the nginx log directory would not
recreated during the re-run of a build.