Fix for the bug #2222. Git source checkout steps support reference repos...

...itories