Use the absolute path for git repository.