Modified storage path code for git driver

This fixes the issue where the cloned repository's remote is the local docs repo, and so never gets updated.