Add failing test for issue #1028
Git clone should ignore depth when using http transport.

Fixes #1028