Fixed GIT_REMOTE_DOWNLOAD_TAGS_ALL to behave like git 1.9.0+

This should fix #2672.
It's in within a new if() block.