CLC-1287 Use git commit as namespace prefix for caches

QA branch version of same fix from #657