Git.pm: Make _temp_cache use the repository directory