Fix init-repository to also work on Windows.

This creates a requirement to have pscp / PuTTY installed when
wanting to initialize the upstream repositories on Windows.

Change-Id: I404de5d45c70fd950a284a86403ca47c64826392
Reviewed-by: Andras Becsi <andras.becsi@digia.com>