init-repository.py should only be used when cloning with git.

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